Re: Calling Otherproject.Sub from Normal.ThisDocument

From: Alex Ivanov (consul_at_collegeclub.com)
Date: 12/05/04


Date: Sat, 4 Dec 2004 23:43:08 -0800

Put a shortcut to your MyMacros.dot into Word's Startup folder. Click
"Tools/Options/File Locations" to find out the exact location of the folder.
Otherwise you will need to load the template manually in order to run its
macros if it is not the Attached Template of a then current document. You
can load a template by clicking Tools/Templates and Add-ins and selecting it
from the list (or browsing)

-- 
Please reply to NG only. This email is not monitored.
Alex.
"Poseur" <julioYODUDEcastaneda@yahoo.com> wrote in message 
news:Xns95B5B16E43EA3jc1Gao9@69.28.186.121...
> Two questions, really.
>
> I've got my macros in "MyMacros.dot" startup template. But I
> need some of them in my Normal.ThisDocument
> Document_New/Open/Close routines.
>
> Haven't been able to call them out of the MyMacros project with
> any variation of syntax ([MyMacros.vbp].[Utils].DoSomething).
> So, I've had to copy some of them over to a local module in
> Normal which seems kind of silly and redundant.
>
> Is that because you just can't call out of project from
> ThisDocument or because I just don't know how to do it?
>
> (sorry 'bout the cross post but traffic is light over in my
> beginner corner)
> -- 
> Poseur
> "That's just kooky talk." --Kramer 


Relevant Pages

  • Re: Is it possible to import/export keyboard shortcuts?
    ... Best would probably be to create them all in a template. ... and have the recipient copy it to their Word STARTUP folder (location should ... be available from Tools/OPtions/File locations). ... Everytime Word is started, it loads all the templates in the Startup folder, ...
    (microsoft.public.word.docmanagement)
  • Re: SetMyTemplate problem
    ... 'Get a reference to the AutoText ... MsgBox "Word can't find a template named firm.dot" ... MsgBox "Initials do not equal agq" ... The Word Startup folder is whatever is displayed at ...
    (microsoft.public.word.vba.general)
  • Re: Error trying to compile using VBA
    ... template is copied to the startup folder. ... I'm using the following code from an "installation" document ... forms and build the command bars. ...
    (microsoft.public.word.vba.general)
  • Re: Missing Template reference
    ... Put your template in the Word startup folder rather than the Office startup ... The macro security setting is set to medium, ...
    (microsoft.public.word.vba.general)
  • Re: Dot file issue
    ... The startup folder points to a shared drive where all ... Add-ins" and place the checkmark everytime they open Word. ... As the template appears to be distributed to each computer it would simply ... In the Option/file location the workgroup template ...
    (microsoft.public.word.docmanagement)