Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-16-2018, 04:33 AM
Btop Btop is offline Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Windows 10 Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Office 2016
Novice
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs
 
Join Date: Feb 2018
Posts: 17
Btop is on a distinguished road
Default

Ok so different letters have different number of items, which are listed in a table. Seeing how field codes don't disappear when in tables, I introduced the following functions into the rows in column A:

{ IF { Mergefield Item1 } = "" "$" "{ Mergefield Item1 }" }
{ IF { Mergefield Item2 } = "" "$" "{ Mergefield Item2 }" }
{ IF { Mergefield Item3 } = "" "$" "{ Mergefield Item3 }" }
...

So when there's no ItemX, $ is introduced and then my MACRO 1 deletes all those empty rows. This is working great.

To use this MACRO 1, I need to click on Finish and Merge first to have all the letters show up. Once all the empty spaces are deleted with this MACRO1, I'd need to save the records as individual PDFs.

In essence, the problem is:
MACRO 1 -> Only works after Finish and Merge
MACRO 2 -> Only works before Finish and Merge

Could these macros be tweaked in some way? Any alternative that isn't too time consuming?

Thanks for your time Paul, bare with me, my knowledge on this is limited
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Mail Merge to create specific number of table rows flackend Mail Merge 4 12-01-2023 02:49 PM
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Mail merge at large table with variable number of rows blar Mail Merge 1 10-19-2015 03:04 PM
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Mail merge into table with two colums and several rows kathriiin Mail Merge 3 03-30-2015 07:06 AM
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Mail Merge To Individual PDF Files iamrickdeans Mail Merge 1 01-15-2014 12:46 AM
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Grouping table rows to prevent individual rows from breaking across pages dennist77 Word 1 10-29-2013 11:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 AM.


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