I have an api which displays a two-dimension array.
Array
(
[0] => Array
(
[0] => 0
[1] => 1
[2] => 2
)
[1] => Array
(
[0] => 3
[1] => 4
[2] => 5
)
)
How can I import the api into excel so that the first number(0) will go to A1. The second number(1) to B1. Something like this
A B C
1| 0 1 2
2| 3 4 5
If you have the array in Excel already it is fairly trivial, just need to make sure your range is the same size as your array, you can do this using the lower boundary and upper boundary of the array like this:
Edit: This will do what you want.
Code as a worksheet event: