putting graph as Line

  • Thread starter Thread starter shah firdaous via OfficeKB.com
  • Start date Start date
S

shah firdaous via OfficeKB.com

Hi, I have export the data to excel from Vb, then add the graph in excel
and set my secondary axis as..
..SeriesCollection(4).AxisGroup = xlSecondary
then how we set this group only as chatrtype as xlLine
 
Hi,
I think this will do it, but you ned to select the chart first.

ActiveChart.ChartType = xlLineMarkers

Thanks,
 
Loop through every series in the chart's seriescollection and check the
axisgroup. If it is xlsecondary, set the series charttype to line.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Back
Top