Hi,
I have a very large excel spreadsheet that I need to merge into a word document in the form of a letter to go out to my sales reps.
I want to send one letter to the unique identifier (the Application Number) AND i want to present the information in the table below to my sales rep, so they know the dynamics they are dealing with when they contact the potential car buyers.
I am having issues with getting the merge coding to work and was hoping someone could help me.
The data looks like this AND I want the application number, name and value in the table. Because I will put the email address in paragraph.
| Application Number |
Name |
Email |
Details |
Value |
APP_ID2 |
| 001 |
Fred Blogs |
******@blogs.com |
likes blue cars not pink |
$5,000 |
001 |
| 001 |
Mary Blogs |
******@blogs.com |
loves pink cars but not purple ones |
$10,000 |
001 |
| 001 |
James Blogs |
******@blogs.com |
first car buyer |
$4,000 |
002 |
| 002 |
Wilma Smith |
******@smith.com |
rides a bike |
$2,000 |
003 |
The words in red are where I have inserted a mergefield from the data source.
{IF {MERGESEQ]}="1" "{MERGEFIELD Application Number}" " "}
{SET APP_ID {MERGEFIELD Application Number}}
{SET APP_ID2 {MERGEFIELD Application Number}}
{IF {APP_ID} <> {APP_ID2}
I have put all of the code above in the Application number spot in the table and this has removed the Application number from the table. it has also just given me one row per letter.
Appreciate any help you can offer.
Thank you.