Naming of wordart

  • Thread starter Thread starter Mike D.
  • Start date Start date
M

Mike D.

I have a wordart ("WordArt 36") that is referenced in a macro.

When I copy the worksheet to another worksheet, the name of this changes to
"WordArt 32"

Is there a way to copy the worksheet so that the name of the images stay the
same?

Or, is there a way to rename the wordart to the previous name?
 
Rename "WordArt 32" on your original sheet, eg "myWordArt". Then when you
copy it to another sheet it's name should persist. Be aware, doing that you
can end up with multiple shapes on the sheet with the same name.

Regards,
Peter T
 
Public Sub ReNamePic()
Dim Pic As Shape
With Selection
..ShapeRange.Name = "WordArt 36"
End With
End Sub


Gord Dibben MS Excel MVP
 
Peter:

How do I go about naming this? When I select it, go to Insert, Name, Define
- it shows the name of the word art in the "Refers to" section. It won't
allow me to delete, rename, or add ...

Thanks for your help!

Mike.
 
Manually, select your wordart and you should see its name in the Names box
to the left of the Input bar. Just type your new name in the name box while
the shape is selected.

With code,
Activesheet.Shapes("WordArt 32").Name = "myWordArt"

If you have just added the wordart and haven't changed the 'Order' of any
shapes, you could do this -

With ActiveSheet.Shapes
..Item(.Count).Name = "myWordArt"
End With

With both the above, you'll get an error if another shape exists with the
new name.

Regards,
Peter T
 

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

Similar Threads

WordArt 0
Protecting WordArt objects in Excel 1
wordart 4
Wordart in '07 1
Program text in wordart 5
Creative graphics 2
INFORMATION MESSAGE BY MACRO 1
WORD ART MESSAGE BY MACRO 4

Back
Top