CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MS Word Macros

  1. #1
    Join Date
    May 2001
    Posts
    1

    MS Word Macros

    I've created some macros in a MS Word '97 template.
    I'm now trying to start Word and run a specific macro.
    It works ok when the macros are in Normal.dot, but I would prefer not to keep them in there.

    How do I start Word without it automatically looking at Normal.dot ?

    The dos command I'm using to start Word is
    "d:\apps\microsoft office\office\winword /mMacroName"

    Cheers

    Cath


  2. #2
    Join Date
    May 2001
    Posts
    24

    MS Word Macros

    Add your word document containing macro as a global template.
    This can be done through the Tools Menu - Templates and Add Ins.

    Click on Add, and browse for the document 7 click OK.

    Ensure that the checkbox next to your document is selected.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured