Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Microsoft Word - Save As - Prompt for File Name

Results 1 to 2 of 2
Share This Thread →
  1. #1
    bxgti4x4 is offline Registered User
    Join Date
    Aug 2004
    Posts
    3
    Rep Power
    0

    Question Microsoft Word - Save As - Prompt for File Name

    I have written a macro in Word that imports a number of files into a document template. The completed document then needs to be saved under a new name. I can specify the name in the code but I would prefer the macro to start the save process and then to prompt me for the new file name.

    Excel has the function "GetSaveAsFilename" but this does not work in Word. Can anyone advise me how to do this?

    Thanks a lot,
    John

  2. #2
    Doug G is offline Grumpier Old Moderator
    Join Date
    Sep 2003
    Posts
    10,143
    Rep Power
    186
    I don't know, sorry. You could write your own dialog box to get the filename, I guess. In VB6 I'd say use the common dialog control but I don't know if that's supported in Word VBA.
    ======
    Doug G
    ======
    I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Formatting Reports To Microsoft Word
    By motoxeryz125 in forum Microsoft Access Help
    Replies: 1
    Last Post: August 6th, 2004, 01:03 PM
  2. Need help using Access query data to fill a Microsoft Word document
    By passmaster16 in forum Microsoft Access Help
    Replies: 2
    Last Post: July 19th, 2004, 05:24 PM
  3. Save as prompt for an html file
    By JoeM in forum ASP Development
    Replies: 0
    Last Post: May 18th, 2004, 11:39 PM
  4. Save to MS Word
    By curious in forum ASP Development
    Replies: 2
    Last Post: March 30th, 2004, 08:04 PM
  5. To read a word document and save it in text format.
    By Steve Schofield in forum ASP Development
    Replies: 0
    Last Post: January 30th, 2002, 01:07 PM

ASP Free Advertisers and Affiliates