I have a workbook with a lot of data.
The data is in about 100 different, 1 collumn tables with unique names.
Then i have different userforms with comboboxes in it.
I want to populate the comboboxes with the data from the different tables, but without referring to sheetnames.
In this way I can move the tables to different sheets without affecting the code in the userforms.
This seems to be easy as I just fill rowsource with e.g “table1” in the property window. But in some comboboxes I need to populate all the data from table1 and only some data from table2, lets say column 2,3 and 4.
Have tried a lot of ways and are a little stuck now, so I really hope someone have the answer.
The data is in about 100 different, 1 collumn tables with unique names.
Then i have different userforms with comboboxes in it.
I want to populate the comboboxes with the data from the different tables, but without referring to sheetnames.
In this way I can move the tables to different sheets without affecting the code in the userforms.
This seems to be easy as I just fill rowsource with e.g “table1” in the property window. But in some comboboxes I need to populate all the data from table1 and only some data from table2, lets say column 2,3 and 4.
Have tried a lot of ways and are a little stuck now, so I really hope someone have the answer.