Repeat bookmarks

G

Guest

Hi.
I created a Word template which have several bookmarks. These bookmarks get
the information from a Access database.
However, I need to copy a bookmark and paste it several times in this
template.
I already read similar answers to this subject in this forum, but what I
have done didn't worked.
Anyone can help me?
I am working with MS Word 2007.
Thank you.
 
D

Doug Robbins - Word MVP

A bookmark can only appear at one place in the document. Depending upon the
way in which you insert the data into the bookmark (i.e. you do not destroy
it in the process), you can use a cross reference field to the text of the
bookmark to have the data appear in other locations in the document.

See the article "Working with Bookmarks in VBA" at:

http://www.word.mvps.org/FAQs/MacrosVBA/WorkWithBookmarks.htm


A better approach in my opinion is to populate document variables with the
data from Access and use DOCVARIABLE fields in the template to display the
data in documents created from the template.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

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