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

Chart Axis Text 2

Status
Not open for further replies.

JohnCR

Technical User
Jun 4, 2004
39
0
0
US
I'm trying to label a chart axis with this ...

Set objAxis = xlapp.ActiveChart.Axes(xlValue, xlPrimary)
With objAxis
.HasTitle = True
.Title.Text = "Issues"
End With


And I keep getting a Unable to get the Axis property of the Chart class, Code 800A03EC.

Does anyone haev any idea what I'm missing here?

TIA,

JohnCR
 
Set a reference to the Excel Object Library. Maybe the xlCONSTANTS have not been exposed otherwise.

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at faq222-2244
 
xlCategory=1
xlColumns=2

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
BINGO!

That did it. (sunofa.....)

Thanks for all the assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top