K
Keith
Morning everyone,
I'm used to doing simple Word mailmerges from Excel data
using automation in VBA but have a need to use a
datasource other than Excel because of the implicit 256
column/field limit.
I have some XML data which I need to use for a mailmerge
which has in some cases just over 400 fields.
I've created a 2 line CSV file with 400 fields/values (a
row of headers & a row of data) & I'd like to use that as
the datasource.
Does anyone have any experience or code examples of how to
do this with either CSV or textfiles.
I can't seem to get the merge to work with a CSV as it
complains that the datasource is not valid. I've seen some
exampls of a SQL query syntax for the merge datasource but
can't get this to work.
Another avenue I tried was to try to use the OWC (Office
Web Component) spreadsheet as a datasource as this has
columns to ZZ in 2000 or ZZZ in XP/2003. Couldn't get that
to work either
Any help/tips the list can give would be much appreciated
Regards
Keith
I'm used to doing simple Word mailmerges from Excel data
using automation in VBA but have a need to use a
datasource other than Excel because of the implicit 256
column/field limit.
I have some XML data which I need to use for a mailmerge
which has in some cases just over 400 fields.
I've created a 2 line CSV file with 400 fields/values (a
row of headers & a row of data) & I'd like to use that as
the datasource.
Does anyone have any experience or code examples of how to
do this with either CSV or textfiles.
I can't seem to get the merge to work with a CSV as it
complains that the datasource is not valid. I've seen some
exampls of a SQL query syntax for the merge datasource but
can't get this to work.
Another avenue I tried was to try to use the OWC (Office
Web Component) spreadsheet as a datasource as this has
columns to ZZ in 2000 or ZZZ in XP/2003. Couldn't get that
to work either
Any help/tips the list can give would be much appreciated
Regards
Keith