Pause in an Excel Macro

H

Harry Bennett

I need to create a macro with multiple functions, one of
which is "SaveAs", so I can save the worksheet to a
different name. How can I record/enter a "pause" function
into a macro to allow for variable input by the user, and
then restart the run/play of the macro when completed.
 
B

Bernie Deitrick

Harry,

Simply use

ActiveWorkbook.SaveAs Application.GetSaveAsFilename

That takes care of all your concerns.

HTH,
Bernie
 

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