G
Geoff Cox
Hello,
I am trying to change some code which deleted the action button on the
last slide so that it finds last slides which do not have an action
button ...
code below not working - any ideas as to why please?!
Cheers
Geoff
Dim oSh As Shape
For Each oSh In _
ActivePresentation.Slides(ActivePresentation.Slides.Count) _
.Shapes
If oSh.Type = 1 Then
' 130 = msoShapeActionButtonForwardOrNext
If oSh.AutoShapeType <> 130 Then
MsgBox "no button in last slide of " & strMyFile
End If
End If
Next
End With
I am trying to change some code which deleted the action button on the
last slide so that it finds last slides which do not have an action
button ...
code below not working - any ideas as to why please?!
Cheers
Geoff
Dim oSh As Shape
For Each oSh In _
ActivePresentation.Slides(ActivePresentation.Slides.Count) _
.Shapes
If oSh.Type = 1 Then
' 130 = msoShapeActionButtonForwardOrNext
If oSh.AutoShapeType <> 130 Then
MsgBox "no button in last slide of " & strMyFile
End If
End If
Next
End With