Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-04-2013, 09:11 AM
bakhesh bakhesh is offline Making a macro run for each page in a mailmerge Windows 7 64bit Making a macro run for each page in a mailmerge Office 2007
Novice
Making a macro run for each page in a mailmerge
 
Join Date: Sep 2013
Posts: 2
bakhesh is on a distinguished road
Default Making a macro run for each page in a mailmerge

Hello,

Bit of a newb here, so apologies if this is a dumb question.

I've set up a mailmerge, and its all working fine, but part of the document is a table. I've flattened my data, so that I have fields for row1, row2 etc, but what I would like to do is hide the rows in the table if they are not populated.

I've written a macro which removes the borders of each row of the table, if the cells aren't populated, but I'm struggling to make it call. I want it to run after each page of the mailmerge is created but before the document is sent to print.

Googling the problem brings up a lot of people trying to run a mailmerge from a macro, but I can't find many people trying to run a macro from a mailmerge



Is this possible?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a macro run for each page in a mailmerge Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Making a macro run for each page in a mailmerge Need help making a macro to space images brewsta Word VBA 3 12-11-2012 03:29 PM
Making Tables Copied from Excel Fit to Page joatmon Word 1 05-30-2012 08:47 AM
Making a macro run for each page in a mailmerge Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Making a macro run for each page in a mailmerge Making items (text, pictures, etc.) static on page Jeremiahts Word 3 04-07-2011 09:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:31 PM.


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