Appearance of Data fields in Excel Charts

S

Sugith Kumar

Hi,

In a VB program, I'm creating Excel Charts. I use
ChartType = xlColumnStacked to show the data fields to
appear as Columns stacked one over the other. I have 7
data fields. But I want first two data fields to appear as
xlLineMarkersStacked, keeping the other 5 as
xlColumnStacked . How do I do this? Any idea?

Thanks in advance
Sugith
 
T

Tom Ogilvy

believe you can put them on the secondary axis and change the chart type for
the secondary axis.

Look at some of the provided combox charts types in the chart wizard and see
how they are set up for ideas on how to do this.
 
S

Sugith Kumar

Hi Tom,

Thank you very much for the reply. Could you please tell
me how to accomplish this thru VB code?

Thanks
Sugith
 
T

Tom Ogilvy

Turn on the macro recorder while you do it manually and you will see the
basic code you need.
 

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