PC Review


Reply
Thread Tools Rate Thread

Combobox List Drop on Entry

 
 
Daniel A.
Guest
Posts: n/a
 
      18th Dec 2007
Hello...I created a userform with several text boxes and three comboboxes
with lists which pull from a named list range elsewhere in the workbook. I
was able to get the first list to drop on entry using:
"Private Sub UserForm_Activate()
Entity.DropDown
End Sub"
However, I have two more comboboxes with lists which I would like to drop
down on entry as I tab into the field. They are separated (in terms of
order) by textbox fields, if that makes a difference. Does anyone know how I
can do this?
 
Reply With Quote
 
 
 
 
Smallweed
Guest
Posts: n/a
 
      18th Dec 2007
Use the OnEnter event for each of the comboboxes (choose the combobox's name
in the top left drop down then the Enter event in the top right drop down in
VBE).

"Daniel A." wrote:

> Hello...I created a userform with several text boxes and three comboboxes
> with lists which pull from a named list range elsewhere in the workbook. I
> was able to get the first list to drop on entry using:
> "Private Sub UserForm_Activate()
> Entity.DropDown
> End Sub"
> However, I have two more comboboxes with lists which I would like to drop
> down on entry as I tab into the field. They are separated (in terms of
> order) by textbox fields, if that makes a difference. Does anyone know how I
> can do this?

 
Reply With Quote
 
Smallweed
Guest
Posts: n/a
 
      18th Dec 2007
I would have a look at the SUMIF function instead (look in Help).

"Daniel A." wrote:

> Hello...I created a userform with several text boxes and three comboboxes
> with lists which pull from a named list range elsewhere in the workbook. I
> was able to get the first list to drop on entry using:
> "Private Sub UserForm_Activate()
> Entity.DropDown
> End Sub"
> However, I have two more comboboxes with lists which I would like to drop
> down on entry as I tab into the field. They are separated (in terms of
> order) by textbox fields, if that makes a difference. Does anyone know how I
> can do this?

 
Reply With Quote
 
Daniel A.
Guest
Posts: n/a
 
      19th Dec 2007
Thank you! OnEnter worked! Your help is very much appreciated!

"Smallweed" wrote:

> Use the OnEnter event for each of the comboboxes (choose the combobox's name
> in the top left drop down then the Enter event in the top right drop down in
> VBE).
>
> "Daniel A." wrote:
>
> > Hello...I created a userform with several text boxes and three comboboxes
> > with lists which pull from a named list range elsewhere in the workbook. I
> > was able to get the first list to drop on entry using:
> > "Private Sub UserForm_Activate()
> > Entity.DropDown
> > End Sub"
> > However, I have two more comboboxes with lists which I would like to drop
> > down on entry as I tab into the field. They are separated (in terms of
> > order) by textbox fields, if that makes a difference. Does anyone know how I
> > can do this?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
combobox allowing entry not in list tina Microsoft Access Form Coding 1 20th Nov 2008 03:02 PM
LIST ENTRY >> ENABLE DROP DOWN LIST TO ACCEPT MORE THAN 1 ENTRY Frank Microsoft Excel Misc 2 18th Sep 2008 10:31 PM
how do I link a drop down list entry to a new drop down cell? =?Utf-8?B?bG11bnplbg==?= Microsoft Excel Misc 1 15th Aug 2006 04:59 PM
ComboBox list reliant on the entry from a different ComboBox =?Utf-8?B?bmRtIGJlcnJ5?= Microsoft Excel Programming 4 4th Oct 2005 04:40 PM
Exiting a ComboBox when the entry is not in the list John S. Ford, MD Microsoft Access Form Coding 3 11th Nov 2004 11:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 AM.