Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Thanked 0 Times in 0 Posts

    Internal Word Commands (Word 2000)

    Is there any way to run an internal Word command, not the VBA equivalent, in a macro? What I want to do is capture the FileSaveAs command (no problem there), do some stuff, then run the internal FileSaveAs command to bring up the FileSaveAs dialog. What I don't want to do is Dim a Dialog object and manage the FileSave Dialog in code. I can do that if I have to but since I don't want to do anything AFTER the save I'd rather just pass control to Word to do the save. Thanks!

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Internal Word Commands (Word 2000)

    There was a way to do this in WordBasic that involved macro contexts...but in VBA, unless you need to manipulate the dialog, this is best:


    Oops, re-read your post.

    You can do either of these:


    <pre>With Dialogs(wdDialogFileSaveAs)
    End With</pre>

    The latter lets you inspect/alter the user's input between the .Display and .Execute steps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts