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
>
>