View Single Post
 
Old 08-02-2021, 11:01 AM
BNDCK BNDCK is offline Windows 10 Office 2010
Novice
 
Join Date: Jul 2021
Posts: 2
BNDCK is on a distinguished road
Default Grouping {MERGEFIELD} into 2 or 3 Columns

Hello There,
my part of excel sheet like this

MINNO CPNO
1 21/1025
1 21/2058
1 21/1065
1 21/1069
2 21/1025
2 21/1029
2 21/1035

an so on, roughly 1000 rows,

My Merge Document is like this



{if {MERGESEQ} = "1""
{ MERGEFIELD Customer_Name}
.................................................. ...............
-------body of the letter---------




-----Page Break---------------

.................................................. ...............
-------body of the letter---------


Merged letter something like this


Allan Craft

-----letter body----


1627925908480.png

21/1025 21/2058 21/1065


next page for next customer and continue. My code produce first page exactly what I wanted. rest of the pages does not come as group. what's wrong in my code. please can someone point me out.

Note : If I write to display as one after the other letters are prepared as I wanted.

like this

21/1025
21/2058
21/1065
....... and so on.

Thanks
Reply With Quote