jmckeone
Well-known Member
- Joined
- Jun 3, 2006
- Messages
- 550
I do a great deal of graphing of data and am looking for code that will cycle through a grid of data and create graphs pulling not only date and data but x and y axis name, chart title and name of graphed data shown in legend. Example of data set is shown below though it normally ends to far more columns and rows. Would like to have the graphs placed on a different sheet in the workbook with 25 graphs per sheet before a new sheet is begun.
x-axis title in A1
y-axis title in A29
Chart titles in B1:G1
Series names in B29:G29
x-axis title in A1
y-axis title in A29
Chart titles in B1:G1
Series names in B29:G29
Book12 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Date | Location1 | Location2 | Location3 | Location4 | Location5 | Location6 | ||
2 | 3/16/2006 | 152.79 | 265.8 | 862.39 | 884.84 | 1320 | 1830 | ||
3 | 3/23/2006 | 236.9 | 285.47 | 875.19 | 883.2 | 1330 | 1760 | ||
4 | 3/30/2006 | 227.27 | 283.3 | 932.66 | 963.5 | 1260 | 1750 | ||
5 | 4/6/2006 | 236.93 | 287.02 | 993.83 | 1010 | 1310 | 1780 | ||
6 | 4/13/2006 | 236.87 | 303.89 | 951.59 | 978.25 | 1290 | 1700 | ||
7 | 4/20/2006 | 225.67 | 286.76 | 1030 | 1040 | 1240 | 1770 | ||
8 | 4/27/2006 | 223.51 | 280.37 | 1160 | 1180 | 1300 | 1740 | ||
9 | 5/4/2006 | 215.23 | 292.69 | 998.67 | 1060 | 1180 | 1760 | ||
10 | 5/11/2006 | 189.49 | 300.25 | 1140 | 1230 | 1310 | 1800 | ||
11 | 5/18/2006 | 157.98 | 280.3 | 1400 | 1500 | 1410 | 1590 | ||
12 | 5/25/2006 | 156.31 | 289.87 | 1410 | 1530 | 1400 | 1600 | ||
13 | 6/1/2006 | 144.69 | 297.69 | 1410 | 1500 | 1460 | 1550 | ||
14 | 6/8/2006 | 152.25 | 303.64 | 1480 | 1640 | 1490 | 1610 | ||
15 | 6/15/2006 | 156.24 | 315.01 | 1450 | 1570 | 1570 | 1610 | ||
16 | 6/22/2006 | 138.26 | 295.62 | 1420 | 1510 | 1570 | 1490 | ||
17 | 6/29/2006 | 134.14 | 291.98 | 1420 | 1520 | 1600 | 1520 | ||
18 | 7/6/2006 | 131.23 | 286.76 | 1020 | 1110 | 1530 | 1760 | ||
19 | 7/13/2006 | 136.01 | 294.58 | 1020 | 1100 | 1690 | 1740 | ||
20 | 7/20/2006 | 132.95 | 305.58 | 1280 | 1360 | 1730 | 1390 | ||
21 | 7/27/2006 | 124.58 | 290.6 | 1320 | 1410 | 1750 | 1310 | ||
22 | 8/3/2006 | 112.72 | 294.32 | 1270 | 1370 | 1450 | 1300 | ||
23 | 8/10/2006 | 112.81 | 297.23 | 1320 | 1410 | 1470 | 1310 | ||
24 | 8/17/2006 | 134.42 | 313.27 | 1370 | 1470 | 1500 | 1340 | ||
25 | 8/24/2006 | 184.72 | 327.86 | 1330 | 1430 | 1540 | 1380 | ||
26 | 8/31/2006 | 212.62 | 331.87 | 1300 | 1400 | 1550 | 1390 | ||
27 | 9/7/2006 | 230.98 | 341.6 | 1290 | 1440 | 1530 | 1400 | ||
28 | 9/14/2006 | 246.65 | 354.28 | 1410 | 1500 | 1560 | 1480 | ||
29 | Usage(MB) | 5000 | 5002 | 5003 | 5004 | 102BB | 103BB | ||
Sheet1 |