ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   SaveAs (https://www.excelbanter.com/excel-programming/443020-saveas.html)

Davis1309

SaveAs
 
I need to create a macro to just open the File SaveAs, the end user can save
the file as any name or in any directory they choose. Thanks!

Javed

SaveAs
 
On Jun 2, 6:24*pm, Davis1309
wrote:
I need to create a macro to just open the File SaveAs, the end user can save
the file as any name or in any directory they choose. *Thanks!


Sub FileSave()

With Application.FileDialog(msoFileDialogSaveAs)
If .Show Then .Execute
End With

End Sub

Pls let me know if anything more you need.

Davis1309

SaveAs
 
Nevermind....I figured it out!

"Davis1309" wrote:

I need to create a macro to just open the File SaveAs, the end user can save
the file as any name or in any directory they choose. Thanks!



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

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