Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Template PROBLEM

Discussion in 'Information Technology' started by David Di Donato, Nov 3, 2005.

  1. David Di Donato

    David Di Donato
    Expand Collapse
    Guest

    Hello NG



    I have the following problem: I copied a word-template in the following
    directory "C:\Program Files\Microsoft OfficeXP\Office10\Startup". This
    directory also contains macros and toolbars. If I try to create a new
    document based on this template, by double-click in the explorer or by
    choosing the corresponding menu-item in Word. Macros and toolbars are also
    integrated in the new document. If I do the same thing using the following
    VBA command:

    Set wdDoc = wdObj.Documents.Add(name of template, False, 0, True)

    macros and toolbars are not integrated. What can I do so that macros and
    toolbars are also integrated?



    Looking in "Extras/Templates and Add-Ins" it seems that the template should
    be integrated but it is not.



    The template contains a procedure with the name "Autoexec"???



    Any hints?



    Thanks

    David
     
  2. Loading...


  3. Douglas J Steele

    Douglas J Steele
    Expand Collapse
    Guest

    I'd suggest asking this in a newsgroup related to Word.

    This newsgroup is for questions about Access, the database product that's
    part of Office Professional.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no e-mails, please!)


    "David Di Donato" <david.didonato@webdev.ch> wrote in message
    news:OJPRnD53FHA.252@TK2MSFTNGP15.phx.gbl...
    > Hello NG
    >
    >
    >
    > I have the following problem: I copied a word-template in the following
    > directory "C:\Program Files\Microsoft OfficeXP\Office10\Startup". This
    > directory also contains macros and toolbars. If I try to create a new
    > document based on this template, by double-click in the explorer or by
    > choosing the corresponding menu-item in Word. Macros and toolbars are also
    > integrated in the new document. If I do the same thing using the following
    > VBA command:
    >
    > Set wdDoc = wdObj.Documents.Add(name of template, False, 0, True)
    >
    > macros and toolbars are not integrated. What can I do so that macros and
    > toolbars are also integrated?
    >
    >
    >
    > Looking in "Extras/Templates and Add-Ins" it seems that the template

    should
    > be integrated but it is not.
    >
    >
    >
    > The template contains a procedure with the name "Autoexec"???
    >
    >
    >
    > Any hints?
    >
    >
    >
    > Thanks
    >
    > David
    >
    >
     

Share This Page