Hello, I would like to paste 3 values in 3 columns A, B, and C in the last available row.
Filename = Dir(Path & "*.xls*")
DateTimeStamp = DateTime.Now
UserName = (Environ$("Username"))
'get last AVAILABLE cell to paste into
Set iLastCellS2 = s2.Cells(s2.Rows.Count, "A").End(xlUp).Offset(1, 0)
Assume my available row is row #5 . How do I paste Filename in A5, DateTimeStamp in B5, and UserName in C5?
Appreciate your help
Filename = Dir(Path & "*.xls*")
DateTimeStamp = DateTime.Now
UserName = (Environ$("Username"))
'get last AVAILABLE cell to paste into
Set iLastCellS2 = s2.Cells(s2.Rows.Count, "A").End(xlUp).Offset(1, 0)
Assume my available row is row #5 . How do I paste Filename in A5, DateTimeStamp in B5, and UserName in C5?
Appreciate your help