Word Art Objects

C

Chris Thomas

I need to write code to select an existing WordArt object, then change the text only.

When I record a macro and simply replace the test with a string variable it doesn't work.

Anyone have any code samples that work for WordArt objects, please?
 
S

Stefan Blom

The following code should work:

Selection.ShapeRange(1).TextEffect.Text = "new text here"

-- 
Stefan Blom
Microsoft Word MVP




---------------------------------------------
"Chris Thomas" wrote in message
I need to write code to select an existing WordArt object, then change the
text only.

When I record a macro and simply replace the test with a string variable it
doesn't work.

Anyone have any code samples that work for WordArt objects, please?
 
Top