Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-18-2018, 03:29 AM
catflap's Avatar
catflap catflap is offline Mail Merge Events Windows 7 64bit Mail Merge Events Office 2013
Advanced Beginner
Mail Merge Events
 
Join Date: Aug 2015
Location: UK
Posts: 77
catflap is on a distinguished road
Default

Thanks for your response.

I'm aiming to use this for any document, so I can't really put it in the ThisDocument code. I did try it anyway, but it still didn't fire there either.

There's not really any code at the moment, I'm just trying to see if I can get anything to trigger before going further, so for now it's just:

Code:
Private Sub app_MailMergeBeforeMerge(ByVal Doc As Document, ByVal StartRecord As Long, ByVal EndRecord As Long, Cancel As Boolean)

    MsgBox "Merge has started."

End Sub
I'm declaring app in my class module:

Code:
Public WithEvents app As Word.Application
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Events 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
Mail Merge Events Mail Merge is Deleting objects in my header and footer during the merge bgranzow Mail Merge 9 06-05-2015 05:03 AM
Mail merge how to link mail merge field value to a column heading dsummers Mail Merge 1 05-08-2014 02:59 PM
Mail Merge Duplication of address on merge RICKY Mail Merge 1 09-26-2012 03:14 PM
Mail Merge Events Saving INDV mail merges During the mail merge sedain121 Mail Merge 2 10-04-2011 07:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:51 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