aoverton05
New Member
- Joined
- Apr 25, 2011
- Messages
- 4
How do i read a table of data into an array in a macro?
Is one of the red words a typo?I want the new array to be the same dimensions as these but i want the new array to consist of the even rows from the first array at the top and the odd columns from the second array. i dont know if i explained that well
Excel Workbook | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 20.7 | 8.9 | 15.98 | 15.37 | |||
2 | 10.27 | 14.57 | 24.66 | 15.68 | |||
3 | 5.14 | 21.95 | 7.99 | 0.89 | |||
4 | 0.9 | 19.95 | 14.41 | 17.57 | |||
5 | 10.28 | 21.27 | 3.15 | 15.91 | |||
6 | 1.66 | 20.05 | 17.97 | 23.2 | |||
7 | 8.43 | 21.44 | 6.19 | 4.89 | |||
8 | |||||||
9 | |||||||
10 | 2.12 | 15.92 | 15.21 | 19.89 | |||
11 | 24.76 | 19.62 | 3.4 | 22.72 | |||
12 | 7.21 | 19.43 | 8.73 | 17.03 | |||
13 | 17.22 | 3.76 | 6.18 | 5.44 | |||
14 | 9.43 | 14.24 | 3.03 | 2.44 | |||
15 | 18.71 | 19.79 | 16.37 | 5.37 | |||
16 | 4.16 | 8.97 | 10.39 | 8.92 | |||
17 | |||||||
18 | |||||||
19 | |||||||
20 | 10.27 | 14.57 | 24.66 | 15.68 | |||
21 | 0.9 | 19.95 | 14.41 | 17.57 | |||
22 | 1.66 | 20.05 | 17.97 | 23.2 | |||
23 | 2.12 | 15.92 | 15.21 | 19.89 | |||
24 | 7.21 | 19.43 | 8.73 | 17.03 | |||
25 | 9.43 | 14.24 | 3.03 | 2.44 | |||
26 | 4.16 | 8.97 | 10.39 | 8.92 | |||
27 | |||||||
Arrays (2) |