putting graph as Line

  • Thread starter shah firdaous via OfficeKB.com
  • 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
 
D

David

Hi,
I think this will do it, but you ned to select the chart first.

ActiveChart.ChartType = xlLineMarkers

Thanks,
 
T

Tushar Mehta

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top