Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default tab to select combo box instead of field?

In that case I'd say it would be easiest to make a VBA Userfrom.
I tried to write a procedure to exit the Combobox, but it didn't work.
Maybe somebody else has an Idea.

If there are any questions concerning the Userform, just post it in
the newsgroup. (maybe open a new thread, so more people will look at
it, but don't forget to link to this thread, which is always helpful)

cheers

Carlo

On Dec 11, 1:13 pm, Pam wrote:
I tried data validation at first, but my boss didn't like that because they
didn't want the staff to have to click on the drop down list, they wanted
them to be able to start typing and have it auto complete, any ideas?
Thanks
Pam



"carlo" wrote:
Hi Pam, did you try data validation?? you could use this instead of a
combobox which works almost the same.


go to a cell, choose Data -- Validation -- then List.
there you can enter your selection.


maybe that saves you the hassle of working with VBA.


Cheers


Carlo


On Dec 10, 5:39 pm, Pam wrote:
Thanks Carlo,
I want to go from a cell to a combo box, then to the next cell. The combo
boxes are spread throughout the worksheet, ie.. one for state, one for
company, one for sales rep name, but the other information is just plain
cells. I hope that makes sense. Would this be better handled perhaps in a VB
form?
Thanks for any help you can give.


"carlo" wrote:
Hi Pam


well, my code only works from worksheet to combobox, not vice versa.
Where do you want to go from your combobox, to the next combobox
or to a range?


Cheers


Carlo


On Dec 10, 5:17 pm, Pam wrote:
I tried that but it didn't work, I type the first letter and the combox box
fills, but when I hit tab or enter, it doesn't move. Is there something in
the properties about matching I need to change?
Thank you


"carlo" wrote:
You could lookup the value of the onchange event and change it to the
combobox:
----------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)


Select Case Target.Address
Case Is = "$B$2"
ComboBox1.Activate
Case Is = "$B$4"
ComboBox2.Activate
End Select


End Sub
----------------------------------------
Adjust the ranges and the ComboBox-names. If there are a lot of
comboboxes it'll be a little complex.


This code has to be inserted in the Worksheet module you want the code
to work. To do that, right click on the Worksheet-tab and click "View
Code..."


hth


Carlo


On Dec 10, 4:35 pm, Pam wrote:
I have a worksheet with several combo boxes and the work great as far as
typing in the first letter and it auto completing.
My problem is, many of our users want to "tab" to the next field, and they
get in the field, but they don't actually select the combo box until they
mouse click on it.
Is there some way I can set this so that they can tab to it and actually
select the combobox instead of the cell behind it?
Thanks for any help you can give me- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box update to field Esrei Excel Discussion (Misc queries) 1 June 26th 07 03:01 PM
How to select one of three lists for a combo box? Ingeniero1[_6_] Excel Programming 2 April 16th 06 07:33 PM
change field format for combo box wAyne Excel Programming 0 March 10th 06 09:01 PM
Select Method from Combo Box bw Excel Programming 6 August 25th 05 11:47 PM
How do I set up a combo box to select one value but pas an other . exkiller Excel Programming 1 January 4th 05 07:06 PM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"