General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Mail Merging to Several Documents
I am using MS Word 2002 on Windows 2000. My database is a Progress csv file that can be converted to Excel 2002.
I found this code in the MS Word Help files under ?If Statement?. I don?t know how to write the actual code that would do 48 if ? then ? else statements.
{ IF { MERGEFIELD LETTERCODE } = "1" "{ INCLUDETEXT G:\\worddocs\\contract.doc }"
{ IF { MERGEFIELD LETTERCODE } = "2" "{ INCLUDETEXT G:\\worddocs\\contract2.doc }"
{ IF { MERGEFIELD LETTERCODE } = "3" "{ INCLUDETEXT G:\\worddocs\\contract3.doc }"
I would like to have the exact code to accomplish this via a mail merge or a macro that I could run.