Hi,

Is it possible to merge data (from SQL Server) via special placeholders
in a Word document ? I noticed that most "Word merge VBs examples" all
create new documents by inserting things like paragrahs in conjunction
to actual data. I'd like to define my template first and then just
replace its placeholders with actual data.

Has anyone ever done this? I'd appreciate if you could give me some
pointers or ... perhaps share some sample code.

Thanks!

JV

Re: VBS/MS Word Merge by Jon

Jon
Tue Jun 21 20:28:39 CDT 2005

You could script up an XHTML export and save it as a .doc file. Word knows
XHTML these days.

Jon


"JV" <jheeringen@hotmail.com> wrote in message
news:1119394735.165427.164730@g47g2000cwa.googlegroups.com...
> Hi,
>
> Is it possible to merge data (from SQL Server) via special placeholders
> in a Word document ? I noticed that most "Word merge VBs examples" all
> create new documents by inserting things like paragrahs in conjunction
> to actual data. I'd like to define my template first and then just
> replace its placeholders with actual data.
>
> Has anyone ever done this? I'd appreciate if you could give me some
> pointers or ... perhaps share some sample code.
>
> Thanks!
>
> JV
>