Looking for VBA code to prepare multiple charts in the active sheet containing each 3 data series

McBeginner

New Member
Joined
Jun 25, 2009
Messages
1
Dear users,
This is one of my first steps into the magnificient world of visual basic for applications, i hope someone outthere is willing to help me. I looked on several forums, but most of the time the questions asked are much more complex than mine.
I am looking for a piece of code for the preparation of multiple charts in excel 2003. I am sure this can be of assistance to many beginners like me.

The data is as follows:
x-axis is in the first column (A)
y-axis data are in columns B to ...

I'd like to prepare charts containing the data from 3 series e.g. i) columns B:D, E:G, H:J, etc.. A graphs with three lines.
The number of graphs that i'd like to prepare is e.g. 20 graphs with each 3 lines. However, it could be that more or less data is generated, so i think this requires the use of loops.
The generated graphs (if possible) should be put in a matrix of 10 (columns) x 2 (rows)
Even better would be if a pop-up box asks how the graphs should be aligned (e.g. 4 columns by 5 rows)
The three lines should be in "red", "blue" and "green", the y-axis should depend on the intensity of the data for each graph.
The legend should be included (titles of each columns).

Computer system used: Windows XP, Excel 2003.

I really hope someone could help me with some piece of code, it would fasten the data analysis enormously, since now all figures are done by hand in changing the source code of the graphs.

kind regards, McBeginner
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,983
Messages
6,122,595
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top