Roxy,
I think I understand how your form works, but please correct me if I'm wrong.
The form has several formfields on it. Each formfield has an OnExit macro
associated with it (or at least most do). These macros are intended to
control navigation through the form. For example, when the user exits a
particular field (call it FF1) focus is automatically set to the next field
to be completed (call it FF2). Exiting FF2 sets focus to the next (FF3). And
so on through the form.
I guess what has me confused is why the macros are necessary? Is it that the
"order" of the fields on the form is not the order in which they should be
logically completed? For example, after completing FF1 the user should then
complete FF3 and then FF2? Otherwise, it seems to me that the standard Word
functionality of simply tabbing through the fields would suffice, and it
would also resolve the problem with using Shift+Tab. A macro to set focus to
the next field on the form seems like overkill.
If this is indeed how your form works, then it's perfectly understandable as
to why Shift+Tab doesn't work. As far as Word is concerned, an Exit event is
an Exit event. It doesn't matter if you press Tab or Shift+Tab or even mouse
click on another field; Word is going to run the OnExit macro and do whatever
the macro says to do - in this case, set focus to a particular field. (And if
I was one of the users, this would annoy the crap out of me - especially if
the form had like 50 fields on it and I had to go through them all just to
get back to the last one I completed.)
BTW, if this was my project, I'd probably take a different approach. Rather
than using formfields with OnExit macros to guide navigation, I'd put a
UserForm over the top and have the users enter the info through the UserForm.
This has several advantages in that: you can structure the UserForm any way
you like so info that belongs together can be collected together; you can
control validation and make fields mandatory, and; you can even save the
input and run the code again. You can also add content to your document and
thus (possibly, albeit using a different process) achieve your goal "to
highlight multiple form fields at one time to
copy and paste".
--
Cheers!
Gordon
Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.