Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Boxes in Excel Charts

Status
Not open for further replies.

comcon

Technical User
Dec 14, 2001
7
US
Is there any way in VBA to insert text boxes at selected
points in a chart?
 
Hi!

If your use the text box from the drawing toolbar, you can put it where ever you want. If you put it on a chart, it will move and size with the chart.

hth
Jeff Bridgham
bridgham@purdue.edu
 
Jeff,

Is there a way we can create the text box in a VBA macro and put it onto the chart using the program?
I would like to insert the text boxes automatically, instead of having to do them manually.

Thanks
 
If you haven't found out by now try using
ActiveChart.Shapes.AddLabel

This seems to use a different set of co-ordinate system than that used by the chart. Don't ask me why, it's a real pain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top