Hi all,
I've got this macro, that will auto fill in the "username" (Col. J),and the date (Col. K), When a value is "typed" into the column I for the same row.
If I "Copy N Paste" the same value down column I for any given number of rows, the data will not autofill in to (Col.J&K). This only happens when a
value is typed.
Is there a way to fix this so it will auto fill when, a value is "Copied and Pasted"?
Also, how would I set the range for this to happen for row 9 and down.
I don't want the auto fill happening in rows 1-8.
I've attached an example layout.
Here's the code I'm working with:
Thanks.![]()
Private Sub Worksheet_Change(ByVal Target As Range) Dim x As Range If Target.Column = 9 Then Cells(Target.Row, "J").Select ActiveCell.Offset(0, 0) = Environ("USERNAME") ActiveCell.Offset(0, 1) = Date & Time End If End Sub
bdb
Bookmarks