Results 1 to 5 of 5
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    England
    Posts
    569
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macro Management

    Hi,
    Using Word2000, I have recorded a macro. Now I want to transfer it from one template to another. Using the Organiser I can't see my individual macro.
    I understand that macros are stored in a module called "NewMacros" and are displayed as such.

    How can I access individual macros to move them between templates?

    Thanks,

    m.q.

  2. #2
    calacuccia
    Guest

    Re: Macro Management

    Hi Musab,

    In the Organizer you can only trnsfer the modules containing sets of macros.

    To transfer individual macros, the best way, is to use the Visual Basic Editor, open both templates (.dot) and just copy the code from one template to another, and then save the templates.

    Calacuccia

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Macro Management

    Just an aside: if you password protect a macro project and do not open the template and the project (and provide the password), the Organizer will display a blank page when you click the Macros Project Items tab.[img]/w3timages/icons/tonguea.gif[/img]
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  4. #4
    Star Lounger
    Join Date
    Jan 2001
    Location
    Upstate NY, New York, USA
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Macro Management

    Also, if organizer isn't working for you, I sometimes export the module (from Visual Basic Editor), save it to my hard drive, and then import it into the template I want it to be in.

  5. #5
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Macro Management

    You might want to try organizing your macros into individual modules broken up by function to make it easier to use the Organizer.

    You can do this in the Visual Basic Editor. Select the project that holds your macros (sounds as if it is Normal.dot) and
    Insert | module

    You can change the name of the module to something other than New Module in the properties.

    Within the VB editor you can cut and paste between modules. Just be sure to not leave two of the same macro with the same name in the same project. (If you're lucky, the macro won't run.)

    Generally I keep my macros and related keyboard / toolbar modifications in global templates. This makes it easier to transfer them and makes them less vulnerable to virus and general Word attacks. For more information on global templates see:
    http://www.addbalance.com/usersguide/templates.htm
    Hope this helps.
    Charles Kyle Kenyon
    Madison, Wisconsin

Posting Permissions

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