You can put your code in a AutoNew and AutoOpen macro.
Hi =?Utf-8?B?amRlcnJpZw==?=,
I'm not really sure I understand everything, here, but...
Yes, some ActiveX controls (from the Control Toolbox) do reset when the document
is closed (so you notice it when you open it the next time). This means you have
to run some initialization code. In Word, you can use the Document_Open event in
the ThisDocument module. Or you can include an AutoOpen macro in any module.
If you're working with a template, and new documents are being created from the
template, then you need the Document_New event or a AutoNew macro.
> Do I have to use a user form for a combo box? I have a document that has
> text boxes and a few combo boxes and an update button that will load the
[quoted text clipped - 3 lines]
> as the form pops up first thing when I open the document and the combo boxes
> are lower in the document so it is confusing to have it open first thing.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)