Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
ActiveChart.Shapes.AddTextbox(msoTextOrientationHo rizontal, 31.5, 8.5, _
122.75, 42#).Select generate a automatic name "Text box X" x= number auto number How to get name on textbox or set name in shapes at chart |
#2
![]() |
|||
|
|||
![]()
Hi,
If you assign the shape to an object then you can retrieve and set properties. '--------------- Sub x() Dim shpTemp As Shape Set shpTemp = ActiveChart.Shapes.AddTextbox(msoTextOrientationHo rizontal, _ 31.5, 8.5, 122.75, 42#) shpTemp.TextFrame.Characters.Text = shpTemp.Name End Sub '----------------- PBN wrote: ActiveChart.Shapes.AddTextbox(msoTextOrientationHo rizontal, 31.5, 8.5, _ 122.75, 42#).Select generate a automatic name "Text box X" x= number auto number How to get name on textbox or set name in shapes at chart -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extract Data From Textbox | Excel Worksheet Functions | |||
Userform with 5 textbox and 1 needs to refresh to have total | Excel Discussion (Misc queries) | |||
manipulating textbox in chart | Charts and Charting in Excel | |||
userform textbox | Excel Worksheet Functions | |||
Help needed with textbox formatting in Excel 2000 | Excel Discussion (Misc queries) |