Hello All,
I have an existing macro that takes data from one sheet and posts into another sheet. This process will be occuring monthly, therefore, I need an add on to the macro that will allow me to timestamp each time this happens If data from the previous month changes.
this is my current macro:
Can anyone help add on this timestamp please?
Thanks in advance
I have an existing macro that takes data from one sheet and posts into another sheet. This process will be occuring monthly, therefore, I need an add on to the macro that will allow me to timestamp each time this happens If data from the previous month changes.
this is my current macro:
Code:
Sub Copydata()
'
' Copydata Macro
'
'
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Range("A1").Select
Sheets("Data").Select
Sheets("Data").Select
ActiveSheet.Previous.Select
Selection.End(xlDown).Select
Range("A731").Select
Selection.End(xlUp).Select
Sheets("Data").Select
Range("A" & Sheets("Data").UsedRange.Rows.Count + 1).Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Sub
Can anyone help add on this timestamp please?
Thanks in advance