VBA- ShapeRange.Count error

  • Thread starter Thread starter Mel
  • Start date Start date
M

Mel

PPT 2003/2007

In VBA, when using ShapeRange.Count, who how do you prevent or handle
the error "... nothing selected" when the user has no shapes selected
when the macro fires? I can't get it count it as 0.

That and more specifically, when using ShapeRange.Count inside a
WindowSelectionChange event and the user deselects all shapes, it
errors as described above. How can I prevent that?

Thanks,
Melina
 
Back
Top