I don't know what to call it. That's why I cant Google it : )

HeRoseInThree

Board Regular
Joined
Jan 11, 2018
Messages
103
First NameLast nameSuffixComplete nameLast, FirstPhoneDOBHireTermSSNTenurePhoneSSNAge
johndoejrJohn Doe JrDoe, John
8158675309​
5/21/73​
11/28/2017​
123-45-67892 years, 11 months, 5 days(815) 867 - 5309678947

If I enter a date in the term column (j2) is there a way to grab the info in row 2 and put it into another sheet named Terms?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
VBA Code:
Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo errhandler
    
    If Intersect(Target, Range("J:J")) Is Nothing Then Exit Sub
    Application.EnableEvents = False
    
    Target.EntireRow.Copy Sheets("Sheet2").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
    
    Application.EnableEvents = True
    
errhandler:
    Application.EnableEvents = True
    
End Sub
 
Upvote 0
VBA Code:
Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo errhandler
   
    If Intersect(Target, Range("J:J")) Is Nothing Then Exit Sub
    Application.EnableEvents = False
   
    Target.EntireRow.Copy Sheets("Sheet2").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
   
    Application.EnableEvents = True
   
errhandler:
    Application.EnableEvents = True
   
End Sub
Thank you SO much!!!
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top