ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save at start of month (https://www.excelbanter.com/excel-programming/295989-save-start-month.html)

Ben Allen

Save at start of month
 
Hi,
I would like to create a macro so that the first time the spreadsheet is
opened in a month a form is initiated allowing the user to select a
directory, then another allowing the user to select a name, however, that
defaults to "Eurotours-*Month* *Year*.xls
I dont have a clue were to start,
Thanks for your help.
Ben

--
Cheers,
Ben

Remove your.tonsils to reply
"You only live once but if you do it right once is enough!"



arno

Save at start of month
 
Hi Ben,

just a thought:
it takes me 5 minutes to create the files for the next 5 years. How long
will you need to write your code?

you will need the SaveCopyAs-method for saving. you'd set the month and year
automatically, have the user enter the desired path in a cell of the
worksheet.

Otherwise, you could have a try with SaveAs-method or
GetSaveAsFilename-method.

regards

arno
"Ben Allen" schrieb im Newsbeitrag
...


Hi,
I would like to create a macro so that the first time the spreadsheet is
opened in a month a form is initiated allowing the user to select a
directory, then another allowing the user to select a name, however, that
defaults to "Eurotours-*Month* *Year*.xls
I dont have a clue were to start,
Thanks for your help.
Ben

--
Cheers,
Ben

Remove your.tonsils to reply
"You only live once but if you do it right once is enough!"






All times are GMT +1. The time now is 04:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com