Hide object on slide when printing

J

Jason Morin

Hello an TIA. I'd like to hide an object (whether it be
an autoshape, textbox, imported image) on a pre-
determined slide when printing. My code doesn't work. And
my other question is, how do I *name* my objects so I
don't have to refer to them as shape(1), shape(2), etc.
Thanks.

Sub HideObject()
With Application.ActivePresentation
.Slides(1).Shapes(1).Visible = msoFalse
'I'd really like Shapes("employeelist")
.PrintOut
End With
End Sub

Jason
WinXP, PPT2003
 
Top