Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to give combo box the focus
I have seven combo boxes on a worksheet. After the code has run to add an
entry to the list I would like the next combo box to take the focus and so on, preferably with a differentbackground colour if possible. Thanks in advance Nigel |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to give combo box the focus
Maybe you can use something like:
With Worksheets("Sheet1") .ComboBox1.Activate .ComboBox1.BackColor = &H80000002 End With Nigel wrote: I have seven combo boxes on a worksheet. After the code has run to add an entry to the list I would like the next combo box to take the focus and so on, preferably with a differentbackground colour if possible. Thanks in advance Nigel -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to give combo box the focus
Hi Dave
I didnt realise it was that simple. Thanks Nigel "Dave Peterson" wrote: Maybe you can use something like: With Worksheets("Sheet1") .ComboBox1.Activate .ComboBox1.BackColor = &H80000002 End With Nigel wrote: I have seven combo boxes on a worksheet. After the code has run to add an entry to the list I would like the next combo box to take the focus and so on, preferably with a differentbackground colour if possible. Thanks in advance Nigel -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
COMBO BOX FOCUS | Excel Worksheet Functions | |||
How to prevent focus by clicking combo box ? | Excel Programming | |||
Excel crashes when Combo Box loses focus | Excel Programming | |||
how to give cell reference using Combo Boxes in Excel? | Excel Discussion (Misc queries) | |||
Statement to give focus to a specific control on a UserForm? | Excel Programming |