M
MarieJ
Hi,
I have a very complex template with 10 user forms that collects various
information and inserts information into the Word document in various places
and ways. The person requesting this template wants users to be able to work
on other documents in the middle of the sequence of user forms because it
takes alot of time to fill out the forms and proceed to the end of the
complete template. What is happening is occasionally a user will switch over
to another Word document screen and, for example, create a new document, and
type something into the new document. Then when they switch back to the user
form and fill out some information and click Next to process that information
and move to the next form, Word is thinking the new document they created is
the ActiveDocument instead of the original document created based on the
template, and errors appear such as unable to find a bookmark, etc. What's
the best way for me to prevent this but not restrict the template so users
can still work on other documents? Is there a way to capture what the
ActiveDocument value is when the document is created from the template, and
then whenever the command button is clicked, check what the ActiveDocument
is, and if it isn't the right one, switch to the right one?
I hope I explained that clearly enough.
TIA MarieJ
I have a very complex template with 10 user forms that collects various
information and inserts information into the Word document in various places
and ways. The person requesting this template wants users to be able to work
on other documents in the middle of the sequence of user forms because it
takes alot of time to fill out the forms and proceed to the end of the
complete template. What is happening is occasionally a user will switch over
to another Word document screen and, for example, create a new document, and
type something into the new document. Then when they switch back to the user
form and fill out some information and click Next to process that information
and move to the next form, Word is thinking the new document they created is
the ActiveDocument instead of the original document created based on the
template, and errors appear such as unable to find a bookmark, etc. What's
the best way for me to prevent this but not restrict the template so users
can still work on other documents? Is there a way to capture what the
ActiveDocument value is when the document is created from the template, and
then whenever the command button is clicked, check what the ActiveDocument
is, and if it isn't the right one, switch to the right one?
I hope I explained that clearly enough.
TIA MarieJ