S
Seamus Conlon
I have created a template that has code in the Document_Open event (in the
ThisDocument object) to fill some combo boxes etc. I want this code to run
each time I open a document that has been created using the template. There
are also command buttons on the template that run code to do other things
and these also need to work in any new documents. However, this does not
happen. The template is attached to the new document ok and the command
buttons are present but the document_open code does not run nor does the
code for the command buttons.
Any ideas on how to resolve this problem?
Thanks,
Seamus
ThisDocument object) to fill some combo boxes etc. I want this code to run
each time I open a document that has been created using the template. There
are also command buttons on the template that run code to do other things
and these also need to work in any new documents. However, this does not
happen. The template is attached to the new document ok and the command
buttons are present but the document_open code does not run nor does the
code for the command buttons.
Any ideas on how to resolve this problem?
Thanks,
Seamus