I created a very simple drop down list in excel. It contains a sequence of integers loaded from a range of cells (years). I need to read the selected value in vba. However, I canβt even find control!
I tried
CboYear Sheet2.CboYear Worksheets("SheetName").CboYear
etc .. and others.
Throughout VBA, this control simply does not exist. All the tutorials that I find suggest that using just the name of the control will work.
I tried the code in the sheet itself, the book and the module, no luck.
source share