G
Guest
I can't seem to find a way to do this. From all I've read, it appears perhaps it can't be done.
I want to open this dialog for users to save a file as an Excel spreadsheet. Using the following code, the filter in the Save as type is All Files (*.*). I'd like to set it to *.xls. Using the Filters.Add method returns an error (as documented in the help for this topic):
Dim dlgSaveAs As FileDialog
Set dlgSaveAs = Application.FileDialog(msoFileDialogSaveAs)
dlgSaveAs.Show
Can this be done?
Thanks for any assistance,
TomT
I want to open this dialog for users to save a file as an Excel spreadsheet. Using the following code, the filter in the Save as type is All Files (*.*). I'd like to set it to *.xls. Using the Filters.Add method returns an error (as documented in the help for this topic):
Dim dlgSaveAs As FileDialog
Set dlgSaveAs = Application.FileDialog(msoFileDialogSaveAs)
dlgSaveAs.Show
Can this be done?
Thanks for any assistance,
TomT