tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
I have a button on my worksheet (called "Rec") which I want to change to WordArt.
There are many types of WordArt but I can't find the property.
Recording a macro to insert a WordArt and selecting the first one gives me this:
and selecting the second gives me this:
If I named the WordArt as "WordArt" and typed this in the Immediate WIndow:
they both return 1, so Type is not the correct property to distinguish between them.
How can I identify WordArt's property?
Thanks
There are many types of WordArt but I can't find the property.
Recording a macro to insert a WordArt and selecting the first one gives me this:
Code:
ActiveSheet.Shapes.AddTextEffect(msoTextEffect31, "Your text here", "+mn-lt", _
54, msoFalse, msoFalse, 296.5575590551, 119.3354330709).Select
and selecting the second gives me this:
Code:
ActiveSheet.Shapes.AddTextEffect(msoTextEffect32, "Your text here", "+mn-lt", _
54, msoFalse, msoFalse, 296.5575590551, 119.3354330709).Select
If I named the WordArt as "WordArt" and typed this in the Immediate WIndow:
Code:
?Sheet1.Shapes("Rec").Type
?Sheet1.Shapes("WordArt").Type
they both return 1, so Type is not the correct property to distinguish between them.
How can I identify WordArt's property?
Thanks