Hi!!! I would like to know how to set the secondary axis title to my chart. But it is giving my problems. Like this is telling me that
Method ?Axes'_Chart' failed and I dont know why
ActiveSheet.ChartObjects(chartName(2)).Activate
ActiveChart.Axes(xlValue, xlSecondary).Select
ActiveChart.SetElement (msoElementSecondaryValueAxisTitleRotated)
ActiveChart.seriesCollection.NewSeries
ActiveChart.seriesCollection(1).Name = "Hv"
ActiveChart.seriesCollection(1).XValues = simNo
ActiveChart.seriesCollection(1).Values = Hvdata
ActiveChart.seriesCollection.NewSeries
ActiveChart.seriesCollection(2).Name = "Freq"
ActiveChart.seriesCollection(2).AxisGroup = 2
ActiveChart.seriesCollection(2).Values = Fdata
Thanks in advance
Method ?Axes'_Chart' failed and I dont know why
ActiveSheet.ChartObjects(chartName(2)).Activate
ActiveChart.Axes(xlValue, xlSecondary).Select
ActiveChart.SetElement (msoElementSecondaryValueAxisTitleRotated)
ActiveChart.seriesCollection.NewSeries
ActiveChart.seriesCollection(1).Name = "Hv"
ActiveChart.seriesCollection(1).XValues = simNo
ActiveChart.seriesCollection(1).Values = Hvdata
ActiveChart.seriesCollection.NewSeries
ActiveChart.seriesCollection(2).Name = "Freq"
ActiveChart.seriesCollection(2).AxisGroup = 2
ActiveChart.seriesCollection(2).Values = Fdata
Thanks in advance