Setting the default filename in xlDialogSaveAs

J

John Wirt

I would like to set the default filename in the filename window when the
SaveAs Dialog box opens. Is this possible?

bnSave = Application.Dialogs(xlDialogSaveAs).Show

I would like the xlDialogSaveAs window to open with the filename of, say,
"ts051604.xls."

How can I do this?

The file from which the xlDialogSaveAs is run is not ts051604.xls.

John
 
Y

yogendra joshi

Hi,

you are on the right track... just do this
bnSave = Application.Dialogs(xlDialogSaveAs).Show("ts051604.xls")

hope this helps...........
 

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