OnEntry macro in 1st Form Field won't auto run in IE6

V

Vicki Aguirre

Our Word forms (form fields in tables) are accessed via
our Intranet. We are currently using Word 2000, Windows
2000, and IE 6 or Netscape Communicator 4.6.

The first form field (DateTime) has an OnEntry Macro which
inserts a unique number using date and time information,
then goes to the second form field (StartEntry).

The OnEntry Macro works great if we open the form directly
from Word or via Netscape. However, if we open the form
via IE 6, the OnEntry macro doesn't run and the cursor is
in the first form field.

Our previous workaround was to have the user tab to the
second field, then back tab to run the macro OR use
Netscape instead to fill out forms. However, we are
gradually migrating away from Netscape and our Forms
Administrator asked me to R&D this problem.

This week I've been searching the knowledge base (Windows,
IE and Word), as well as, the various newsgroups and MVP
sites with no luck. I did come up with another workaround
which works the same for Word, Netscape or IE by using a
bookmark (DateTime) then running an OnExit Macro in the
StartEntry field.

I've read through so much info. and tried so many things
that I'm almost brain dead. So it's time to ask the
experts.

Does anyone know why IE won't run an OnEntry Macro when
it's in the first form field? Is there a better workaround
that you can suggest for this problem?

I was trying to keep this post as simple as possible, but
if you need more detail or I need to post some code, let
me know.

Thanks for any help that you can give me.
 
W

Word Heretic

G'day "Vicki Aguirre" <[email protected]>,

because IE is a wrapper in this case, and has it own ways of dealing
with fields. Thus, when it inserts the selection on field 1, it is IE
doing that in browse mode, not the Word shell underneath selecting it.


Vicki Aguirre said:
Our Word forms (form fields in tables) are accessed via
our Intranet. We are currently using Word 2000, Windows
2000, and IE 6 or Netscape Communicator 4.6.

The first form field (DateTime) has an OnEntry Macro which
inserts a unique number using date and time information,
then goes to the second form field (StartEntry).

The OnEntry Macro works great if we open the form directly
from Word or via Netscape. However, if we open the form
via IE 6, the OnEntry macro doesn't run and the cursor is
in the first form field.

Our previous workaround was to have the user tab to the
second field, then back tab to run the macro OR use
Netscape instead to fill out forms. However, we are
gradually migrating away from Netscape and our Forms
Administrator asked me to R&D this problem.

This week I've been searching the knowledge base (Windows,
IE and Word), as well as, the various newsgroups and MVP
sites with no luck. I did come up with another workaround
which works the same for Word, Netscape or IE by using a
bookmark (DateTime) then running an OnExit Macro in the
StartEntry field.

I've read through so much info. and tried so many things
that I'm almost brain dead. So it's time to ask the
experts.

Does anyone know why IE won't run an OnEntry Macro when
it's in the first form field? Is there a better workaround
that you can suggest for this problem?

I was trying to keep this post as simple as possible, but
if you need more detail or I need to post some code, let
me know.

Thanks for any help that you can give me.

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
 
V

Vicki Aguirre

Thanks Steve.
-----Original Message-----
G'day "Vicki Aguirre" <[email protected]>,

because IE is a wrapper in this case, and has it own ways of dealing
with fields. Thus, when it inserts the selection on field 1, it is IE
doing that in browse mode, not the Word shell underneath selecting it.


"Vicki Aguirre" <[email protected]> was spinning this yarn:


Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email (e-mail address removed)
Products http://www.geocities.com/word_heretic/products.html

Replies offlist may require payment.
.
 

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