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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a text box to XL chart from Access 1

Status
Not open for further replies.

kndavies

Technical User
Jan 23, 2003
30
GB
Hi,
Using Office 2000
I need to add a text box to an Excel chart, code running in Access but all I get is the "Object doesn't support this property or method" error.

Code is:

With xlsApp.Application
<working code>

.ActiveChart.Shapes.AddTextbox(xmsoTextOrientationHorizontal, 566.88, 65, 111, 30).Select

<working code>

end with

Code needs debugging at the AddTextbox point.

I have been playing with this on and off for days now - please put me out of my misery!
Ken
 
Hi,

If the chart is a Chart Sheet, as opposed to a chart embedded in a worksheet, the only control objects available are Form control objects instead of Control Toolbox control objects.

:)

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top