View Single Post
 
Old 08-19-2010, 06:52 AM
Jercook Jercook is offline Windows XP Office 2010 (Version 14.0)
Novice
 
Join Date: Aug 2010
Location: West Valley Utah
Posts: 13
Jercook is on a distinguished road
Cool Hiding/Deleting a shape

Assuming the shape you want to hide or delete is named "Star 1", two snippets of code you can use to do this are shown below. To do this, assign an action to a button that calls one of the following:


Sub HideShape
ActivePresentation.Slides(2).Shapes("Star 1").Visible = msoFalse
End Sub

Sub DeleteShape
ActivePresentation.Slides(2).Shapes("Star 1").Delete
End Sub
Reply With Quote