Need .Type codes and constants (e.g. Type 10 is msoLinkedOLEObject

G

gary

Hi,
I have searched but cannot find the list of Shape and InlineShape type codes.

I would like to find the documentation that describes all codes for Shapes and InlineShapes -- e.g. Type 10 is msoLinkedOLEObject.

Can you help?
Thanks, Regards,
Gary
 
D

dennis

WdInlineShapeType can be one of these WdInlineShapeType
constants.

wdInlineShapeEmbeddedOLEObject
wdInlineShapeHorizontalLine
wdInlineShapeLinkedOLEObject
wdInlineShapeLinkedPicture
wdInlineShapeLinkedPictureHorizontalLine
wdInlineShapeOLEControlObject
wdInlineShapeOWSAnchor
wdInlineShapePicture
wdInlineShapePictureBullet
wdInlineShapePictureHorizontalLine
wdInlineShapeScriptAnchor

MsoShapeType can be one of these MsoShapeType constants.

msoAutoShape
msoCanvas
msoComment
msoFormControl
msoCallout
msoChart
msoEmbeddedOLEObject
msoFreeform
msoGroup
msoLine
msoLinkedOLEObject
msoLinkedPicture
msoMedia
msoOLEControlObject
msoPicture
msoPlaceholder
msoScriptAnchor
msoShapeTypeMixed
msoTable
msoTextBox
msoTextEffect


-----Original Message-----
Hi,
I have searched but cannot find the list of Shape and InlineShape type codes.

I would like to find the documentation that describes all
codes for Shapes and InlineShapes -- e.g. Type 10 is
msoLinkedOLEObject.
 
J

Jay Freedman

Hi Gary,

In the VBA editor, open the Object Browser (F2), enter "msoShapeType" in the
search box and hit Enter. The enumerations and their values will be listed
in the window below.
 
J

Jezebel

The prefix 'mso' means that the consant is part of Office, not part of Word:
look in the Office Developers documentation for details.



gary said:
Hi,
I have searched but cannot find the list of Shape and InlineShape type codes.

I would like to find the documentation that describes all codes for Shapes
and InlineShapes -- e.g. Type 10 is msoLinkedOLEObject.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top