Hi,
I am fairly new to VBA and programming Word - I was wondering if it is
possible for a Word Template to automatically populate itself when opened
with certain system information, eg. any mapped network drives, printers
installed, etc.
Thanks for any help,
Dan.
Doug Robbins - 05 Sep 2005 05:10 GMT
Use a macro named autonew() in the template to hold the code and it will run
when a document is created by using File>New and then selecting the
template.
See the following article for how to get the name of the active printer
"Changing the selected (current) printer in Word without changing the system
default printer" at:
http://www.word.mvps.org/FAQs/MacrosVBA/ChangeCurPrinter.htm

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hi,
>
[quoted text clipped - 6 lines]
>
> Dan.