Automated form doesn't behave when opened as a template

C

CubeRat

Using Word 2000, I have an automated document (drop-downs and such, powered
by VBA code) that opens and runs fine when accessed via the File>Open
command. But some of my users copied this document into their template
directory (still with a "doc" extension) and are trying to open it from there
with the File>New command. It opens, but the drop-downs and checkboxes and
such work erratically. It looks like it's not executing some of the
macros/code.

Any clues why this would be different?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?Q3ViZVJhdA==?=,
Using Word 2000, I have an automated document (drop-downs and such, powered
by VBA code) that opens and runs fine when accessed via the File>Open
command. But some of my users copied this document into their template
directory (still with a "doc" extension) and are trying to open it from there
with the File>New command. It opens, but the drop-downs and checkboxes and
such work erratically. It looks like it's not executing some of the
macros/code.
Do you use an AutoOpen or Document_Open procedure to initialize things? Have you
used form fields from the Forms toolbar, or from the Control Box? If the latter,
and your code addresses these through the Thisdocument module or using
ThisDocument, that could be a reason (because "ThisDocument" would be the
originating template, not the document created from it).

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 :)
 
C

CubeRat

I have an AutoOpen procedure, but all it does is throw a dialog box up that
explains the rules of using the form. I've used form fields from the Forms
Toolbar, not from the Control Box (where is the Control Box?).

Does the name of the form (.doc vs. .dot) make a difference?
Does the location of the form, or the method the user uses to open the form
make a difference?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?Q3ViZVJhdA==?=,
I have an AutoOpen procedure, but all it does is throw a dialog box up that
explains the rules of using the form. I've used form fields from the Forms
Toolbar, not from the Control Box (where is the Control Box?).

Does the name of the form (.doc vs. .dot) make a difference?
Does the location of the form, or the method the user uses to open the form
make a difference?
I'm still waiting for a light-bulb to go off <sigh>

could you copy/paste a couple of the procedures into a reply that aren't working when
the user tries creating a NEW document instead of opening the document directly?
Perhaps that will give us a clue...

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top