B
Bernhard Mäder
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
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