Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Load and Use Classes from another template
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Bernhard Mäder, post: 5827657"] Hi Group I'm in the process of building a bunch of templates for various use (report, fax, memo...). Once finished, the templates will be distributed through local network shares to my co-workers. Now the different templates have many things that they have in common (e.g. phone number, address etc.), which I would like to store in a central place. Also, I'd need some macros in all of the templates, which I would like to store in a central place, too. I have thought about using a reference in C:\Documents and Settings\...\Application Data\Microsoft\Word\STARTUP that points to a resource .dot file on the network. That file can now hold all the stuff that needs to be centralized. So far the resource template gets properly loaded on startup of word, but I'm unable (or don't know how) to access the information within (through VBA code in the document template, say on document_new). So, these are my questions: 1) Is this whole stuff a good idea or should I drop it and "hard-code" the information into each template? 2) How can I access those classes from within the document template's VBA code? Any help greatly appreciated! Thx, Bernhard [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Load and Use Classes from another template
Top