ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Possible to change the file name? (https://www.excelbanter.com/excel-programming/323030-possible-change-file-name.html)

Mike R.

Possible to change the file name?
 
Greetings,
Is it possible to change the name of the workbook with vb? The user can
then opt to save the file as the new name when the close the file. I need
the file name change due to the file being email out. Thank you,
Mike

Tom Ogilvy

Possible to change the file name?
 
No - the only way to change the name is to save the file with the new name.
You can do a savecopyas to make copy of workbook. Email the copy and then
delete it.

--
Regards,
Tom Ogilvy

"Mike R." wrote in message
...
Greetings,
Is it possible to change the name of the workbook with vb? The user can
then opt to save the file as the new name when the close the file. I need
the file name change due to the file being email out. Thank you,
Mike





All times are GMT +1. The time now is 07:22 PM.

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