OLE Object VBA question

B

Barb Reinhardt

I have the following IF statement

If TypeName(PPPres.Slides(i).Shapes(j).OLEFormat.Object) = "Chart" Then

end if

And I suspect it's failing when there are no OLE objects in the slide. How
do I check to see if there are any OLE objects?
 
Top