Hi all,
I have values which are used to fill an array. Each value is related to a column and row.
The values are:
12 (R1C1)
28 (R2C2)
35 (R3C3)
... (R4C4)
... (R5C5)
... (R..C..)
So the numbers are diagonally put into the array and adjacent values (left and right depending on in which column the above value is located) need to be calculated using a user defined interval (10), resulting in the below array:
12, 22, 32, ...
18, 28, 38, ...
15, 25, 35, ...
..., ..., ..., ...
Can someone help me with this and its VBA code? The number of values will most likely be extended to 20. Hence, an array of 20 x 20 will be required.
Regards,
Martijn
Bookmarks