Stop command button from showing up on a print out?

plpl78

Board Regular
Joined
May 8, 2009
Messages
87
Hello everyone,

I have a 4 slide Powerpoint set up. I added a command button so that users could print the entier Powerpoint rather than having to view it online.

I have it working the only problem is when i click on the command button, it prints all 4 slides but it also shows the command button on the 1st slide.

Is there anyway to set it up so that when they click the button it just prints the 4 slides and not the button?

Here is the VBA code i'm using right now.

Private Sub CommandButton1_Click()

ActivePresentation.PrintOptions.RangeType = ppPrintAll
ActivePresentation.PrintOut

End Sub
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Have you checked the properties of the button? Right click, Format, Properties, unchecked the "Print" box?

I have not used one in PowerPoint, however, in all the other Microsoft programs I have used, this works.

Hope that helps....

K
 
Upvote 0
For an ActiveX CommandButton goto the object's properties (from the Developer tab)-->PrintObject-->False.

HTH,
 
Upvote 0

Forum statistics

Threads
1,225,609
Messages
6,185,981
Members
453,333
Latest member
BioCoder84

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