What I want to do is pull in specific values from a 3-dimensional array and then calculate the average of those values. Here is a snipet of my code:
When I use MsgBox to check the value of ValueArray(j, AR, i) it returns the proper value of 0.84623, so I know the array is holding the correct value. But once I pass that value to the variable called tempVal, the value of tempVal is 1. I cannot figure out what is going on here... is there some special way you need to get array values from a 3D array?
Bookmarks