I am attempting to define a 2 dimensional, variable array (in terms of size). The number of items given in response to an inputbox will determine the size. For each item I would like to enter a price and volume, compute the price per volume (perform a division) and return the coordinate pair and the result of the division. The program (a macro) would first ask the number of items and based on the number of items define a two dimensional array containing the price and weight of each item. The output will be the result of the division.
I know I will have to define the array as Variant and I have to do two for/next loops to populate it. How do I use the response to the Inputbox to dimension the array?
Thanks,
Eytch
I know I will have to define the array as Variant and I have to do two for/next loops to populate it. How do I use the response to the Inputbox to dimension the array?
Thanks,
Eytch