Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am wanting to save a workbook from a command button on
the first sheet. How can I bring up the save-as dialog window in vba ? This can be used by anyone using the file to save wherever he wishes with any file name. Many thanks in advance for any assistance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub SaveTheFile()
Dim FN As String FN = Application.GetSaveAsFilename() If UCase(FN) = "FALSE" Then Exit Sub ThisWorkbook.SaveAs FN End Sub Patrick Molloy Microsoft Excel MVP -----Original Message----- I am wanting to save a workbook from a command button on the first sheet. How can I bring up the save-as dialog window in vba ? This can be used by anyone using the file to save wherever he wishes with any file name. Many thanks in advance for any assistance. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Saving Workbook | Excel Discussion (Misc queries) | |||
HELP -Saving a workbook | Excel Discussion (Misc queries) | |||
Color Changes When Saving 2007 Workbook as 97 - 2003 Workbook | Excel Discussion (Misc queries) | |||
Saving workbook from VB | Excel Discussion (Misc queries) | |||
Saving a Workbook | Excel Worksheet Functions |