Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Calling Otherproject.Sub from Normal.ThisDocument

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Poseur - 04 Dec 2004 22:31 GMT
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)
Signature

Poseur
"That's just kooky talk." --Kramer

Alex Ivanov - 05 Dec 2004 07:43 GMT
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)

Signature

Please reply to NG only. This email is not monitored.
Alex.

> Two questions, really.
>
[quoted text clipped - 12 lines]
> (sorry 'bout the cross post but traffic is light over in my
> beginner corner)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.