ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   prompt user to save file as {desired_name} and save it to a variab (https://www.excelbanter.com/excel-programming/380591-prompt-user-save-file-%7Bdesired_name%7D-save-variab.html)

GeneWan

prompt user to save file as {desired_name} and save it to a variab
 
the code will prompt user to "Save the file as:"

how do I save this user-input string so that I can "open" this file for
writing later on?

thanks!

NickHK

prompt user to save file as {desired_name} and save it to a variab
 
Use Application.getsaveAsFilename.

Note that this does not do the .save for you; it just returns a string of
the filepath/name.

NickHK

"GeneWan" wrote in message
...
the code will prompt user to "Save the file as:"

how do I save this user-input string so that I can "open" this file for
writing later on?

thanks!





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

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