Form Field Bookmarks

W

Wayne

Is there any easy way to create a list/table oof all of
the bookmarks from a form field?

Basically, I have a document with 100 form field (mixture
of check boxes and text fields). I would like to create a
table or list of the bookmarks and the values contained in
them. I'm sure I can do this with a VBA macro hard coding
each bookmark, but I was wondering if there was something
more global.

thanks in advance

Wayne
 
D

Doug Robbins

You can get the name of the bookmark assigned to each formfield and the data
that is entered into it with:

Dim aff As FormField
For Each aff In ActiveDocument.FormFields
MsgBox aff.Name
MsgBox aff.Result
Next aff


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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