ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Morning,
I have a userform which has many comboboxes with drop down lists.
I have noticed that if a drop down list entry only shows N/A then below it is a blank entry also.
Anything else where there are 2,3 or 20 options to select then the blank space at the end isnt shown.
The sheet where my details are stored is called INFO
Example of its table
R1 is the header called REGISTRATION
R2 is the entry N/A
There is then nothing else shown below it.
On the userform if i right click the combobox & select view code there is nothing shown BUT if i click a blank space on the form i then see its code so for this case i see the following,
Looking in name manager i see,
Then,
Table10 & in the refers to field =INFO!$R$2:$R$2
I cant see why or understand why that any entry that i only want N/A applied has the blank space below it.
Thanks
I have a userform which has many comboboxes with drop down lists.
I have noticed that if a drop down list entry only shows N/A then below it is a blank entry also.
Anything else where there are 2,3 or 20 options to select then the blank space at the end isnt shown.
The sheet where my details are stored is called INFO
Example of its table
R1 is the header called REGISTRATION
R2 is the entry N/A
There is then nothing else shown below it.
On the userform if i right click the combobox & select view code there is nothing shown BUT if i click a blank space on the form i then see its code so for this case i see the following,
Code:
'REGISTRATION NUMBERDim lastrowr As Long
lastrowr = Sheets("INFO").Cells(Rows.Count, "R").End(xlUp).Row
ComboBox1.List = Sheets("INFO").Cells(2, "R").Resize(lastrowr).Value
Looking in name manager i see,
Code:
=Table10[REGISTRATION]
Then,
Table10 & in the refers to field =INFO!$R$2:$R$2
I cant see why or understand why that any entry that i only want N/A applied has the blank space below it.
Thanks