IncludeText and Form Fields question

B

Bob W

I'm trying to use text form fields in a source.doc to prompt users to fill in
certain info, then have that info auto-populate to a target.doc via
IncludeText.

I've embedded all the text form fields in the source.doc, and given their
bookmarks meaningful names.

I've gone into target.doc and inserted IncludeText fields, using correct
syntax(IncludeText "source.doc" bookmarkname).

Both the source.doc and the target.doc are in the same folder.

I've opened the source.doc and typed desired text into all the text form
fields.

Neither the source.doc nor the target.doc is locked.

However, when I open the target.doc, its IncludeText fields refuse to
update. Why?
 
S

Stefan Blom

I'm not sure I understand what you are trying to do, but note that when you
add contents to a text form field that is not in a protected document, the
field will be deleted, which might explain why the INCLUDETEXT isn't working.
I think you have to try a different approach. See the article at
http://gregmaxey.mvps.org/Repeating_Data.htm for ways to repeat data in Word.
 
S

Suzanne S. Barnhill

A better approach to this might be a UserForm to collect the data and write
it to the defined bookmarks, retaining the bookmarks, so that the text can
then be harvested via IncludeText. But why bother? Why not just have a
UserForm in the target doc to collect the data and write it directly to that
doc?
 

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