Before I hit the "Print" button - XL2000

Jotoya

Active Member
Joined
May 25, 2003
Messages
366
Hello:

I'm aware of the BeforePrint event but I don't know if it'll work - I have a macro which when ran, prints the activesheet and copies data from the sheet to a History Log. I'd like for my user to be prompted to use the button where the macro is located as opposed to using the standard print button.

So, if the user clicks the standard print button, is there anyway to prompt them with a dialog and exit the print command? Thank you so much. :)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
atmospheric,

Thanks for your reply. If I were to remove the button from the toolbar it wouldn't be available for all WB/Sheets - not just the one I am writing about.
 
Upvote 0

Forum statistics

Threads
1,213,531
Messages
6,114,172
Members
448,554
Latest member
Gleisner2

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