Hi,
I have to printout a handout for my students and I want to know if it’s possible to selectively hide certain objects in my slides from my Powerpoint printout?
THanks,
-Alex
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS PowerPoint and presentation apps » PowerPoint: hide selected objects from printout?
One of the great features in PPT 2010/2007 is the Selection Pane. Look on the Home Ribbon>Editing Group>Select Dropdown and choose Selection Pane.
Every object on the slide is listed. Beside each item is an eye icon. Clicking on the item removes it from view without deleting it from the presentation. You can print or show the presentation and the item will not print or show in the slide show.
That is just the start of the things you can do with the selection pane. I’ve found that it is invaluable when editing and animating.
Alex,
Here’s some code that will do the trick. Unfortunately it does take some setup as you need to execute the following command in the Immediate window, or you could setup a sub to do it and just change it each time you run it, once for each Shape you want to hide.
ActivePresentation.Slides(sln).Shapes(spn).Name = "Hide x"
Where:
sln = the slide number {you could use slide names if you have them named}
shn = the shape number on the slide.
x = any previously unused number/letter {I’m assuming that you can’t have duplicate shape names across slides…not tested}
Once you have this setup you can use this code to toggle the shapes visible/invisible. I’ve tested this {in 2010 and 2003} and they do not print out when you can’t see them.
Option Explicit Sub SelectiveHide() Dim shpCurrent As Shape Dim sldCurrent As Slide For Each sldCurrent In ActivePresentation.Slides With sldCurrent For Each shpCurrent In .Shapes If Left(shpCurrent.Name, 4) = "Hide" Then _ shpCurrent.Visible = Not shpCurrent.Visible Next 'shpCurrent End With 'sldCurrent Next 'sldCurrent End Sub
HTH :cheers:
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications