I need to create an array in excel vba from an access table field. The table has 4 fields, but what I need is to create an array that contains only data from field 2. I did the connection to access, then I use this code to fill the array:
Array1 = Array(Rs.Fields(1).Value)
But Array1 only loads 1 item from field 2 and I don't know how can I make the loop to load all the data.