
October 4th, 2012, 02:40 PM
|
|
|
|
It should not work at all. For a starter, your for/next loops are nested wrong. It should read :
For x = 0 to 180
For y = 0 to 180
Total = Array1(1, x, y) + Array2(1, x, y)
Debug.Print Array1(1, x, y), Array2(1, x, y), Total
Next y
Next x
If you want to save the total in Array2, you would have to add a fourth dimension to it.
J.A. Coutts
|