Calling Otherproject.Sub from Normal.ThisDocument

P

Poseur

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)
 
A

Alex Ivanov

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top