T
troy.litwiler
Hi all. I've been trying to figure this out on my own with little
success, as well as searching all of the Word groups I could find.
What I need to do is create a Macro or VBScript that will select a
datasource (AS400 table), sort it by a specified value in each record,
then merge each record to its own document, chosen according to the
value specified. As an example:
A B C
Bed Tom Wolfe
Chair Sue Jones
Wall Jim Smith
Wall John Henry
All records with A=Bed would merge to bed.doc
All records with A=Chair would merge to chair.doc
All records with A=Wall would each merge to wall.doc
I know this is a simplistic description, but I hope it helps describe
what I'm trying to accomplish. Any suggestions, hints, or help would
be greatly appreciated. Thanks in advance.
success, as well as searching all of the Word groups I could find.
What I need to do is create a Macro or VBScript that will select a
datasource (AS400 table), sort it by a specified value in each record,
then merge each record to its own document, chosen according to the
value specified. As an example:
A B C
Bed Tom Wolfe
Chair Sue Jones
Wall Jim Smith
Wall John Henry
All records with A=Bed would merge to bed.doc
All records with A=Chair would merge to chair.doc
All records with A=Wall would each merge to wall.doc
I know this is a simplistic description, but I hope it helps describe
what I'm trying to accomplish. Any suggestions, hints, or help would
be greatly appreciated. Thanks in advance.