Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2023, 07:14 AM
70Steed 70Steed is offline Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Windows 11 Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Office 2021
Novice
Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop
 
Join Date: Dec 2023
Posts: 1
70Steed is on a distinguished road
Arrow Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop

I am in the process of generating a mail merge document from an excel worksheet that contains multiple records for specific customers. I've used this forum to successfully create the merge of the catalog in the document. The catalog table I am generating is simply of the item name and the item price. What I can't figure out is how to merge the subtotal, tax and total records to the BOTTOM of the document along with a salutation (Not in adjacent cells in the table). These values are in adjacent columns and repeat for each record so I tried to run another merges command=1 after the first merge sequence that generates the first item & price table to no avail. What is happening it Word is moving on to the next record after the catalog is created. Is there a way to do this? I used the following example to create my code from this link:
HOW TO: Use Mail Merge to Create a List Sorted by Category in Word 2000 - Microsoft Support


{ IF { MERGESEQ } = "1" "{ MERGEFIELD City }" "" }<ENTER>
{ SET Place1 { MERGEFIELD City }}<ENTER>
{ If { Place2 } <> { Place1 }"<ENTER>
{ MERGEFIELD City }<ENTER>
<ENTER>
{ MERGEFIELD Employee }{ MERGEFIELD Sales }" "{ MERGEFIELD Employee }{ MERGEFIELD Sales }" }{ SET Place2 { MERGEFIELD City }}<ENTER>



It seems that after it sees SET place 2, it moves on to the next record and I would like to have a few more dynamic merge fields after this loop, pulling either from the first or last record from my list. Any help would be greatly appreciated. Thank you.
Reply With Quote
  #2  
Old 12-14-2023, 01:36 AM
gmayor's Avatar
gmayor gmayor is offline Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Windows 10 Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Maybe Merge Many To One would help?
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
mailmerge automate, mailmerge directory, mailmerge tips & tricks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Mail Merge with multiple records prasademany Mail Merge 7 05-08-2020 05:55 AM
Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop How do I mail merge records into table columns with more than one merge field? tech123 Mail Merge 1 04-26-2017 07:13 PM
Directory/Catalog Merge of Multiple records With added merge fields at the end of the merge loop Help with using catalog in Directory merge tarcher61 Mail Merge 15 03-30-2016 02:08 PM
Need to Selectively Merge Records to Different Places in a Word Directory-type Document TotheMoonAlice Mail Merge 3 03-27-2015 08:11 AM
Mail Merge Directory - Combining fields officegirl Mail Merge 1 03-21-2013 11:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft