Open the SaveAs Dialogbox

V

vqthomf

I am trying to open the SaveAs dialogbox when the user clicks on a
commandbutton. Has anybody managed to do this any help would be much
appreciated.
Regards
Charles
 
S

Socko

I hope this helps. Call one of the built in dialogs.

Sub ShowSaveAsDialog()
Dim myDialog As Dialog
Set myDialog = Application.Dialogs(xlDialogSaveAs)
myDialog.Show
End Sub

Similarly, if you want to use the other 100+ dialog collection, have a
look at the list of dialog collection at : http://www.sockofiles.350.com/dialoglist.txt

I hope this helps

Selva V Pasupathy
For more on Excel, VBA, and other resources
Please visit: http://socko.wordpress.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top