Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Calgary, Alberta, Canada
    Posts
    818
    Thanks
    6
    Thanked 1 Time in 1 Post

    Word macro template (Word 2K/Win 2K)

    In Excel, you can create a Personal.xls to house all your personal macros, put this spreadsheet in XLSTART and it opens with all your macros everytime. So I thought - what a great idea to do something similar in Word - create a template called Rons Macros.dot and place in the Winword Startup file. The only problem is how to move macros from one template to another - it is probably a very simple thing to do <img src=/S/confused.gif border=0 alt=confused width=15 height=20>, but for the life of me, I cannot figure this one out. <img src=/S/nuts.gif border=0 alt=nuts width=15 height=15> <img src=/S/brickwall.gif border=0 alt=brickwall width=25 height=15>

    Any insight that anyone can provide is greatly appreciated. Thanks. <img src=/S/thewave.gif border=0 alt=thewave width=225 height=33>

    Ron M <img src=/S/smile.gif border=0 alt=smile width=15 height=15> <img src=/S/smile.gif border=0 alt=smile width=15 height=15> <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  2. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Word macro template (Word 2K/Win 2K)

    Ron

    You can do it with a copy and paste but it is neater to do it at the module level. This can be done easily in the VBA editor in the Project Explorer (View > Project Explorer) if both the source and destination templates are open. Using the Project Explorer you can drag and drop a module from one template to another which creates the module in the new template.

    You can also right-click a module in the Project Explorer and choose Export File to save the module out as a .bas file. BAS files can be imported into other templates via the same right-click and choosing Import File.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Word macro template (Word 2K/Win 2K)

    And yet another way to do copy macros at the module level is to use the Organizer.

    Gary

  4. #4
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Calgary, Alberta, Canada
    Posts
    818
    Thanks
    6
    Thanked 1 Time in 1 Post

    Re: Word macro template (Word 2K/Win 2K)

    Andrew, Gary, thanks very much. I shall give it a try.

    Ron M

Posting Permissions

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