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

RE: automatic mail merge by anonymous

anonymous
Tue Jan 06 07:36:10 CST 2004

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

Re: automatic mail merge by Doug

Doug
Wed Jan 07 05:01:26 CST 2004

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
"Frank Mainzer" <fmainzer@dataswiss.com> wrote in message
news:urZzJJE1DHA.3824@TK2MSFTNGP11.phx.gbl...
> 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
>
>