LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Combo Box Search


I am new to vb programing in excel and I want to create a userform with
combox list.
What I want to accomplish is when a user choses an item in the combo
box it will go to that cell.

For example: In the combobox I have listed 3 choices: chevy, ford and
dodge.

In my spread sheet I have column "A" as Manufacturer in which the first
80rows has "ford" (a10:a80)in the next 80 rows it has Chevy(a81:a161)
and in the next 80 dodge.

I have created my user form with combo box displaying "chevy, ford and
dodge" and I have a command button.

When the user selects for example "ford" it would then scroll down to
the first row with the word ford in column "A".

I have gotten the user form and the combo box figured out but I am
stuck from there on.

Can Anyone help???????????
Please...........................

Here is the code I have for the user form.

---------------------------------
Private sub combobox_1_change()
combobox1.dropdown
end sub

Private sub commandbutton_1_click()

end sub


Private sub userform_initialize()
combobox1.additems."ford"
combobox1.additems."chevy"
combobox1.additems."dodge"
end sub


--
tssgw
------------------------------------------------------------------------
tssgw's Profile: http://www.excelforum.com/member.php...o&userid=35121
View this thread: http://www.excelforum.com/showthread...hreadid=548760

 
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
Filtered list for Combo Box ListFillRange - Nested Combo Boxes DoctorG Excel Programming 3 February 23rd 06 12:15 PM
Search cells from value of Combo Box tinnef Excel Programming 0 February 1st 06 11:17 AM
Finding a record using multiple combo boxes as my search criteria sdg8481 Excel Discussion (Misc queries) 8 March 8th 05 08:36 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


All times are GMT +1. The time now is 01:34 PM.

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"