Forms in Word

D

dredrunde

I use Word XP. Sometime in the past, I saw a form in Word that used dialog
boxes to ask the user to fill in fields and then entered the results into the
document. I would like to figure out how to do that so fill in bookmark
values in a template I have made.
When others try to use my template, they almost always forget to do it
properly and the bookmark is either deleted or completed properly. The
fields later (which use these bookmark values) are messed up.

Can anyone help me with this?
 
C

Charles Kenyon

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

Yes. Bookmarks are fragile.
http://word.mvps.org/FAQs/MacrosVBA/WorkWithBookmarks.htm
http://word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm

Otherwise, you can use what Word calls an "online form." Check this in help.
For more about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles. At least one of these articles gets into
UserForms as well; they can be used together.

Hope this helps,
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
J

Jay Freedman

See these articles:

http://www.word.mvps.org/FAQs/Userforms/CreateAUserForm.htm
http://www.word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm

Creating a single userform (custom dialog) to gather all the user's
information at once is more friendly than popping up a series of boxes
that each gets one piece of information. Additional code in the
userform can check the input so the dialog doesn't dump incorrect data
into the bookmarks.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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