E
Edward
Hi everybody,
I have added some textboxes in PP with special sequence of numbering and I
have added a tag to them "SLDHNUM" now I want to use the following code to
delete them but this code doesn't work any thoughts?
For lx = 1 To ActivePresentation.Slides.Count
For ly = 1 To ActivePresentation.Slides(lx).Shapes.Count
If ActivePresentation.Slides(lx).Shapes(ly).Tags.Count > 0 Then
If ActivePresentation.Slides(lx).Shapes(ly).Tags.Name(1) = "SLDHNUM"
Then
ActivePresentation.Slides(lx).Shapes(ly).Delete
Exit For
End If
End If
Next
Next
by the way I used "for each" version of the loops but still didnt work.
I have added some textboxes in PP with special sequence of numbering and I
have added a tag to them "SLDHNUM" now I want to use the following code to
delete them but this code doesn't work any thoughts?
For lx = 1 To ActivePresentation.Slides.Count
For ly = 1 To ActivePresentation.Slides(lx).Shapes.Count
If ActivePresentation.Slides(lx).Shapes(ly).Tags.Count > 0 Then
If ActivePresentation.Slides(lx).Shapes(ly).Tags.Name(1) = "SLDHNUM"
Then
ActivePresentation.Slides(lx).Shapes(ly).Delete
Exit For
End If
End If
Next
Next
by the way I used "for each" version of the loops but still didnt work.