Hi All,
I want to populate my excel userform combo box with one of the sql database table column unique values. I am using the following sql statement in my code but it shows me all values present in the sql table column for e.g. I can see America region name 4 times in the drop down I want that the combo box should show it only once. Following is the sql statement used by me in my macro code :
stSQL = "SELECT Region FROM [Region_Mapping]"
Please expedite. Thanks for your help in advance.




Reply With Quote