This should work
but not sure why the rowsource property is not working.Code:Dim a a = ThisWorkbook.Worksheets("DATA").Range("myTypes").Value2 With ComboBox1 .List = a End With
This should work
but not sure why the rowsource property is not working.Code:Dim a a = ThisWorkbook.Worksheets("DATA").Range("myTypes").Value2 With ComboBox1 .List = a End With
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
I will take a shot and I will report back.
Thanx !!!
Edit:
It seems to be working great with named ranges and the isaddin = false issue is gone. the userform loads properly and the listbox and combobox populate properly
There is only one disadvantage, if the named range consists of 1 cell only then the listbox does not show anything.
If it can be overcome then it will be perfect.
Last edited by MrBlackd; 05-11-2016 at 12:22 AM.
Keep in mind all vba I know has been googled...
Bookmarks