Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I've got the following which edits the text on a shape; ActiveSheet.Shapes("Button 12988").Select Selection.Characters.Text = "More Info" I assumed ActiveSheet.Shapes("Button 12988").Characters.Text = "More Info" would do the same thing, but it gives me an error. How do edit the text without selecting the shape?? Thanks Tony |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tony,
Try it this way activesheet.shapes("Button 12988").OleFormat.Object.Caption="More Info" -- Hope that helps. Vergel Adriano "bony_tony" wrote: Hi, I've got the following which edits the text on a shape; ActiveSheet.Shapes("Button 12988").Select Selection.Characters.Text = "More Info" I assumed ActiveSheet.Shapes("Button 12988").Characters.Text = "More Info" would do the same thing, but it gives me an error. How do edit the text without selecting the shape?? Thanks Tony |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks mate
On May 2, 2:06 pm, Vergel Adriano wrote: Tony, Try it this way activesheet.shapes("Button 12988").OleFormat.Object.Caption="More Info" -- Hope that helps. Vergel Adriano "bony_tony" wrote: Hi, I've got the following which edits the text on a shape; ActiveSheet.Shapes("Button 12988").Select Selection.Characters.Text = "More Info" I assumed ActiveSheet.Shapes("Button 12988").Characters.Text = "More Info" would do the same thing, but it gives me an error. How do edit the text without selecting the shape?? Thanks Tony- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add and edit a shape in VBA | Excel Discussion (Misc queries) | |||
Edit shape with snap to grid on only allows movement down and righ | Excel Discussion (Misc queries) | |||
How do I create and/or edit a bell shape graph? | Charts and Charting in Excel | |||
Cutting and pasting large variable text into a text box shape usin | Excel Programming | |||
Selecting record to edit using ADO | Excel Programming |