Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
With objChart .Name = "Turnover Chart" .SetSourceData(Source:=objRange1, PlotBy:=Excel.XlRowCol.xlColumns) .ChartType = Excel.XlChartType.xlCylinderColStacked .Location(Where:=Excel.XlChartLocation.xlLocationAsObject, Name:="Chart") ' THE NEXT LINE THROWS AN EXCEPTION objAxis = CType(.Axes(Excel.XlAxisType.xlValue, Excel.XlAxisGroup.xlPrimary), Excel.Axis) With objAxis .HasTitle = True .AxisTitle.Text = "Sales" End With End With
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.