ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save As help (https://www.excelbanter.com/excel-programming/294700-save-help.html)

Brad E

Save As help
 
I have a macro assigned to a button. With this macro, I
want to bring up the "Save As" dialog box just as if the
user was to go to File Save As.

Is there a way to do this?
Thanks, Brad E.

Frank Kabel

Save As help
 
Hi
have a look at the GetSaveAsFilename method in the VBA help

--
Regards
Frank Kabel
Frankfurt, Germany


Brad E wrote:
I have a macro assigned to a button. With this macro, I
want to bring up the "Save As" dialog box just as if the
user was to go to File Save As.

Is there a way to do this?
Thanks, Brad E.


DSC[_4_]

Save As help
 
you could assign the code

Savefile = Application.GetSaveAsFilename

ActiveWorkbook.SaveAs Savefile

HTH

Davi

--
Message posted from http://www.ExcelForum.com


Paulw2k

Save As help
 
Hi,

FileName = Application.GetSaveAsFilename
ActiveWorkbook.SaveAs FileName


Paul


"Brad E" wrote in message
...
I have a macro assigned to a button. With this macro, I
want to bring up the "Save As" dialog box just as if the
user was to go to File Save As.

Is there a way to do this?
Thanks, Brad E.





All times are GMT +1. The time now is 10:12 AM.

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