drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and Thanks in Advance
I have a ComboBox coming from the ActveX Controls on a Sheet.
This ComboBox's ListFillRange=A1:A15
But I would like to disable some of the items from this Combo so eg:
If A1=1, A2,2,A3=3 and so on, I would like my Combo to show only odd numbers.
Do I have to use ComboBox1.RowSource = "" and then Add by vba the desired items and/or is there any other way to say eg:
Thanks!
I have a ComboBox coming from the ActveX Controls on a Sheet.
This ComboBox's ListFillRange=A1:A15
But I would like to disable some of the items from this Combo so eg:
If A1=1, A2,2,A3=3 and so on, I would like my Combo to show only odd numbers.
Do I have to use ComboBox1.RowSource = "" and then Add by vba the desired items and/or is there any other way to say eg:
Code:
ComboBox1.item(2).disable=true
Thanks!