Human_doing
Board Regular
- Joined
- Feb 16, 2011
- Messages
- 137
Hi all,
I have the following code which is supposed to offer the option to 'save as' to a user at the end of a macro that has created a new book1, I don't get an error when I run this but it doesn't seem to actually save the file. Never had this problem before can anyone please take a look at the code and advise? I'm using Excel 2003.
Many thanks
I have the following code which is supposed to offer the option to 'save as' to a user at the end of a macro that has created a new book1, I don't get an error when I run this but it doesn't seem to actually save the file. Never had this problem before can anyone please take a look at the code and advise? I'm using Excel 2003.
Code:
fileSaveName = Application.GetSaveAsFilename( _
FileFilter:="Excel Workbooks,*.xls")
If fileSaveName <> False Then
End If
MsgBox "Success!! Excel will now close. File saved as " & fileSaveName
Many thanks