Macro and Before Print

daniels012

Well-known Member
Joined
Jan 13, 2005
Messages
5,219
I know in Excel you can use Before_Print to bring up a message and allow you to do something.

I know the following applies to Microsoft Word, but I don't know how to get answers for Word. If you can point me in the right direction of a website for Word that is as good as this one for Excel... Point me!!

I am trying to add a Macro into Word to execute when someone prints the document. The macro message would say "Would you like to change the text in this file?" Yes, No, Cancel"
If Yes, Go to the Doc and edit text
If No, Go ahead and Print
If Cancel, take me back to the sheet and end Macro.

Any help is greatly appreciated. :)
Michael
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
That couldn't hurt, no ;)

But yep, Tracy takes care of that site, now.

To be honest, I probably wouldn't have known it either except for how often I talk with her (e-mail is fun :) )
 
Upvote 0

Forum statistics

Threads
1,225,269
Messages
6,183,959
Members
453,198
Latest member
VB6 Programming

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top