Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveDocument SaveAs + Prompt for new file name 1

Status
Not open for further replies.

bxgti4x4

Technical User
Feb 22, 2002
167
GB
I have a Word template into which a number of files are inserted using a macro. At the end of the insert procedure I want the macro to prompt the user for a file name under which to save the modified template.

I have searched everywhere for a method of doing this but all the "save" procedures require the file name to be specified in the code. I cannot find any code which prompts for the file name.

Can anyone advise how this can be achieved.

Best Regards
John
 
And what about InputBox ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
PHV

I looked at that but could not see how it could solve the problem.

John
 
Have you tried to play with the Application.Dialogs(wdDialogFileSaveAs) object ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV, that's just what I needed.

Best Regards
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top