Hi, I have written a VBA program that runs on Excel and puts data on the excel sheet. This runs everyday. I want to be adding the dates to the files, this date is gotten from the excel sheet that uploads into the report excel file. Below is the Code I wrote which doesnt work, please could you help me
Code:
Sheets("Matrix sheet").Select
Today = Cells(1, 1) 'The location of the date on the raw sheet
Today = Format(Today, "dd-mm-yyyy")
Windows("cells.xls").Close savechanges:=True, Filename:="c:\Daily_Alerts\Daily Alerts_ " & Today & " "
Comment