Frank Freese
asked on
VBA date to line code
Folks,
I would like to add the date to a range:
I need to correct my code in the last line. How will that look?
I would like to add the date to a range:
Sub Copy_Paste()
Dim Tdate As Date
Worksheets("Forecast").Range("A4:E7").Copy Worksheets("Historical").Range("A2:E5")
Worksheets("Historical").Range("B2:E5").Interior.Color = vbBlue
Worksheets("Historical").Range("B2:E5").Font.Color = vbRed
Worksheets("Historical").Range("F2:F5").Now
I need to correct my code in the last line. How will that look?
Worksheets("Historical").R ange("F2:F 5") = Now
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks folks. Noah's solution met my objective.