Save As in VBA

  • Thread starter Thread starter Bill D.
  • Start date Start date
B

Bill D.

I want to put a Save AS button on a worksheet that will open the Windows
SaveAs dialog box so the user can select the path to where he wants the
worksheet saved. An inputbox will ask for the new file name prior to
opening the SaveAs dialog box.

Bill
 
You might be able to modify the "Save Changes?" example on my web site.
 
Thanks Rob for the help and another great resource to add to my list.
I have been using the GetSaveAsFilename but so far the file is never
actually saved. I know I'm doing something wrong but your reply at least
tells me I am using hte correct command.

Thanks

Bill
 
I have used the same approach to saving. However, the file actually doe
save, just not with the name I specified. I noticed the name I pas
into the GetSaveAsFileName method appears in quotes, I do not know i
this is something I need to change.

Any ideas
 
It something you are using now doesn't work or doesn't work as expected,
then change is definitely an option.
 

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

Back
Top