I'm working on a macro in VBA with Excel.
My objective is to have the macro automatically save the new file the macro just created. Each time the macro runs I want the filename to change.
For example,
I run the macro and it saves the file as C:\7-1-01.xls.
Tommorrow I run the macro and I want it to save to
C:\7-2-01.xls.
The next day I run the macro and I want it to save to
C:\7-3-01.xls.
How do I get the macro to save as and change the filename automatically?
My objective is to have the macro automatically save the new file the macro just created. Each time the macro runs I want the filename to change.
For example,
I run the macro and it saves the file as C:\7-1-01.xls.
Tommorrow I run the macro and I want it to save to
C:\7-2-01.xls.
The next day I run the macro and I want it to save to
C:\7-3-01.xls.
How do I get the macro to save as and change the filename automatically?