automatic mail merge

F

Frank Mainzer

Hi list,

I create a word document and define bookmakrs on it like
tablename__fieldname. then i run a procedure from within vb that scans
though all the bookmarks and fills them properly. It also wokrs with tables
and reccuring records.

The problem is that the bookmark name is only allowed roughly 20 Chars....

can anybody think about a better placeholder mechanism??

thx

frank
 
D

Dave Lett

Hi Frank

I don't think there is a better way to locate places in a document (bookmarks seem to be the best). However, I noticed that you mentioned that bookmark names have roughly a 20-character limit. Word allows bookmarks names that are up to _40_ characters. Is that not enough

Dave
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Frank,

You could use DOCVARIABLE "variablename" fields in the document and have
your procedure create the variables in the document via

ActiveDocument.Variables("variablename").Value = [your data item]

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
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