I've got a 3D array of strings, myArray(1 to 30,1 to 80,1 to 20). In my workbook I have a table that occupies the range (1,1) to (30,20). I want to use the validation.add type method to validate the cells of the table in the following order:
the 1st column of the table:
cell(1,1) should contain the values myArray(1,1,1) to myArray(1,80,1)
cell(2,1) should contain the values myArray(2,1,1) to myArray(2,80,1)
...
cell(30,1) should contain the values myArray(30,1,1) to myArray(30,80,1)
the 2nd column of the table:
cell(1,2) should contain the values myArray(1,1,2) to myArray(1,80,2)
cell(2,2) should contain the values myArray(2,1,2) to myArray(2,80,2)
...
cell(30,2) should contain the values myArray(30,1,2) to myArray(1,80,2)
and so on..
In short, each cell in the table should contain drop lists with data extracted from the array (each column of the table contains values from a different page of the array).
I apologize if my question isn't well specified, I'm new to programing and have little experience with VBA.