Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am creating a chart in Excel. At lines 15-17 (see below) I get "Method 'Axes' of Object 'Chart_Chart' failed." Any help in getting this chart to create would be greatly appreciated. Thanks, Jimmy 2 Charts.Add 3 ActiveChart.ApplyCustomType ChartType:=xlBuiltIn, TypeName:= _ 4 "Lines on 2 Axes" 5 ActiveChart.SetSourceData Source:=Sheets("Chart").Range(topLeft & ":" & bottomRight), PlotBy:= _ 6 xlRows 7 ActiveChart.Location Whe=xlLocationAsObject, Name:="Chart" 8 With ActiveChart 9 .HasTitle = True 10 .ChartTitle.Characters.Text = "Bid/Quote Success Rate" 11 .Axes(xlCategory, xlPrimary).HasTitle = False 12 .Axes(xlValue, xlPrimary).HasTitle = True 13 .Axes(xlValue, xlPrimary).AxisTitle.Characters.Text = _ 14 "# of Bids/Quotes Received" 15 ' .Axes(xlCategory, xlSecondary).HasTitle = False 16 ' .Axes(xlValue, xlSecondary).HasTitle = True 17 ' .Axes(xlValue, xlSecondary).AxisTitle.Characters.Text = _ 18 "% Submitted of Received or % Won to Date of Submitted/Received" 19 End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy chart formatting and chart templates in Excel 2007 | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Setting up and Configuration of Excel | |||
Excel 2003: How to nudge a chart element or shape on a chart? | Charts and Charting in Excel | |||
Cannot Activate Chart Area in Chart. Chart Object Failed | Excel Programming |