View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Mike Faulkner Mike Faulkner is offline
external usenet poster
 
Posts: 6
Default Excel 2003 - Shapes

Hello

Many thanks for the replies.

I want to loop through the msoShapeType collection extracting the type of
Shape (i.e. 17 = Textbox, 13=Picture etc.)

Regards
Mike

"PBezucha" wrote:

Mike,
Search up (VBA-View-)ObjectBrowser for msoShapeType.
--
Petr Bezucha


"Mike Faulkner" wrote:

App: Excel 2002
OS: WinXP

Looping through the Shapes collection in a Worksheet I get three different
Types returned (i.e. 13, 17 & 1) . How can I then identify what Type of Shape
these are (i.e, Texbox, Picture, Comment etc.)

Many thanks in advance

Regards
Mike