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?
 

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