Your question is not very clear... it sounds like you want to know what the data type is for a shape's Top, Left, Right and Bottom properties. If so, they are all of type Single. If that is not what you were asking for, then you will need to provide a more detailed description for us.I Need to know The Top,left, Right and Bottom Enum Library Like (True and False as Boolean)
Enum MyDirect
left = 1
Top = 2
Right = 3
bottom = 4
End Enum
I am not sure what alignment you are talking about (TextFrame maybe?), but there are built-in constants for Left, Top, Right and Bottom and they are xlLeft, xlTop, xlRight and xlBottom which are nothing more than the letters xl (lower case XL) followed by the direction name), so you should be able to use those directly instead of creating your own Enum for them (although their values are -4131, -4160, -4152, -4107 respectively, not 1, 2, 3 and 4 like your example Enum).Thank Mr for respond
I have write enum for Direction
Code:Enum MyDirect left = 1 Top = 2 Right = 3 bottom = 4 End Enum
and to get Left or any of my Need
write
Dim Dir as MyDirect but I need this Enum From Excel Library.
Shapes do not have an alignment property.For Shapes Sir.