Thanks for the reply.
I ran the code replacing: FileToSave = InputBox("Save the date for data history" & _
" in the form month-day-year" & _
" example: 10-13-2003", _
"Name day to archive")
With: FileToSave = Activeworkbook.Worksheets("HH1").Range("F2").Text and I got a Microsoft error, that it could not access a file needed.
In the vba code, highlighted in yellow is: ActiveWorkbook.SaveAs Filename:=FileToSave, FileFormat:=xlNormal, Password:="", writerespassword:="SIC", _
ReadOnlyRecommended:=False, CreateBackup:=False
I want to name the new sheet with the current days date which is located on the original sheet in cell F2. Can I reference in the code the actual filename instead of "Activeworkbok".
Thanks again,
EMoe
Bookmarks