SaveAs Errors

  • Thread starter Thread starter Shawn Shuler
  • Start date Start date
S

Shawn Shuler

I'm trying to bulletproof a spreadsheet template against being overwritten
by coworkers who must use it. I have set it up to force them to save it as
a normal Excel spreadsheet under a different name any time the template is
activated. All works fine unless I choose NOT to overwrite an existing
file.

To be clear, the saveas dialog appears and I choose a file name that already
exists. I am then asked if I wish to overwrite the file. If I say 'Yes'
everything goes fine. However, choosing 'No' or 'Cancel' results in an
error. How can I detect which button was chosen and handle the error?
 
I think I just figured it out. I'm still new at this so I just learned
about Err.
 

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

Similar Threads

More SaveAs trouble 1
Excel SaveAs to force overwrite of extant file 1
Force a SaveAs 3
SaveAs Problem 7
SaveAs 2
SaveAs dialog argument for file type 1
SaveAs Result? 4
SaveAs method error 3

Back
Top