Word CommandButton - Printing

glockster

Board Regular
Joined
Mar 24, 2002
Messages
181
I have a CommandButton embedded in a Word doc but I don't want it to print out. In Excel there is a "Print" property that can be changed but I don't see one in Word... is it possible?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi glockster,

It's not a vba methid, but a sub name, as in 'Sub FilePrint()'. This intercepts Word's standard fileprint command. By doing that, you can hide your userform/command button.

Cheers
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,678
Members
449,116
Latest member
HypnoFant

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