Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to pull a SaveAs dialog box from a VB command that will
prompt the user to save their work. The problem is when the user types in the filename it does not save as an excel file. The user would have to type the extension themselves and that is not feasible for this application. Below is the code I got from VB Help. Is there another way? sub savenew() Set NewBook = Workbooks.Add Do fName = Application.GetSaveAsFilename Loop Until fName < False NewBook.SaveAs Filename:=fName end sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Default Save Extension | Excel Discussion (Misc queries) | |||
Save Extension | Excel Programming | |||
disable save and saveas from menubar and save via command button | Excel Programming | |||
auto save with variable name with html extension | Excel Programming |