How to identify a selected slide is a master slide in PowerPoint 2003 Programmatically
Posted
by Gayan
on Stack Overflow
See other posts from Stack Overflow
or by Gayan
Published on 2009-11-26T07:04:27Z
Indexed on
2010/05/03
8:08 UTC
Read the original article
Hit count: 391
Recently I was working with a code to open a PowerPoint presentation (by vb.net) object and process each slide by slide. If processing slide is not null or a master slide I need to skip and go to the next one.
Can anyone show me how to check whether a given slide is a master slide? Is there any way to check it by slide type?
Public Sub CheckForProprtychecker(ByVal Presn As PowerPoint.Presentation)
For SlideIndex As Integer = 1 To Presn.Slides.Count()
If Presn.Slides(SlideIndex) Is Nothing Then
Continue For
End If
‘do other process
Next
End Sub
© Stack Overflow or respective owner