How do I pause a Macro to save a file as? It won't let me pause th

L

lorrie3292

I am trying to create a Macro in Word that will let me pause to enter the
Save As file name, but I can't select the Macro pause button during a Save
As. Help!
 
G

Graham Mayor

Dialogs(wdDialogFileSaveAs).Show


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
E

Ed

You could use an Input Box. Just before your SaveAs command, put in
Dim sName As String
sName = InputBox("Please enter name for file.", "File Name")
then in your SaveAs code use
FileName:= sName & ".doc"

HTH
Ed
 

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