A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pause in an Excel Macro



 
 
Thread Tools Display Modes
  #1  
Old October 7th, 2003, 04:11 PM
Harry Bennett
external usenet poster
 
Posts: n/a
Default Pause in an Excel Macro

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.
  #2  
Old October 7th, 2003, 05:42 PM
Bernie Deitrick
external usenet poster
 
Posts: n/a
Default Pause in an Excel Macro

Harry,

Simply use

ActiveWorkbook.SaveAs Application.GetSaveAsFilename

That takes care of all your concerns.

HTH,
Bernie


"Harry Bennett" wrote in message
...
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.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.