Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2021, 09:58 PM
gmayor's Avatar
gmayor gmayor is offline DocumentBeforePrint doesnt work Windows 10 DocumentBeforePrint doesnt work Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
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 ofgmayor has much to be proud of
Default

The code I use for the BeforePrint event is an old Word MVP code detailed at
Intercepting events like Save and Print and
Writing application event procedures
While this code has been around since Word 2000, it is still valid today and works in the same Word version that you are using.
Note that it doesn't fire until you click 'Print' on the File Print dialog
__________________
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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DocumentBeforePrint doesnt work Code doesnt work properly ksigcajun Word VBA 6 04-06-2015 07:41 AM
Powerpoint save as WMV but media doesnt work. hooney PowerPoint 0 02-21-2013 09:45 PM
Safe Senders Doesnt work Anil Kaul Outlook 0 11-16-2012 01:28 PM
DocumentBeforePrint doesnt work Command Button doesnt work on network rmw85 Word VBA 1 04-25-2012 01:02 PM
DocumentBeforePrint doesnt work My Product code doesnt work!!!! PLEASE HELP dukquaknoobhack Office 1 01-05-2012 03:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:43 PM.


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