Combo Box Show all values before selection

INvicta

Board Regular
Joined
May 18, 2007
Messages
108
I am sure the answer is relatively simple but I can't work it out.

I have a Combo Box on a form.
Row Source is set to Wayne;Roger;Lesley;N/A

When the focus is on the box it would be useful for the whole list to be shown (as opposed to selecting the drop down arrow).
Then the value selected to be entered in the field as normal.

Any help would be very much appreciated.
We have a new accounts package due to be implemented soon. The Go Live date has now been put back 3 times. Meanwhile this so called interim option continues to run without problems. Funny old world isn't it :rolleyes:

Bernard
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Bernard

How about using a list box instead of a combo box? A list box naturally shows more than one item in the list at a time. The main difference is you can have 'multi-select' with a list box so you may want to set that property to False if you want your users to only select one value at a time.

Andrew
[edited typo]
 
Upvote 0
Andrew,

This gives me the visible list = :biggrin:

I've tried it but it keeps defaulting to the first value in the list (Wayne) even when another is highlighted\selected.
How do I get the name that is selected from the list entered into the Op Id field?

Sorry for being so dense - Double clicking, to select, the appropriate name does the trick. :oops:

Many thanks for your help.

Bernard
 
Upvote 0
You can try this as long as your are only selecting 1 item

Code:
Private Sub List2_AfterUpdate()
Me.Text4 = Me.List2
End Sub

Change List2 to your listbox name and Text4 to the OpId field.

HTH,
CT
 
Upvote 0

Forum statistics

Threads
1,214,968
Messages
6,122,509
Members
449,089
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top