Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default find-record combo box

I developed a user form to search data in a list of records. A combo box on
the form is linked to the list. Now what I am wandering is if it is possible
to set up the combo box to select the active cell in the list when an item in
the combo box is selected.

Thanks,
Iurie T
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default find-record combo box

Private Sub Combobox1_Click()
With Worksheets("Sheet1")
.Activate
.Range("A1:A10")(Userform1.Combobox1.ListIndex+1). Select
End With
End sub

where A1:A10 represents the location of the list linked to the listbox

--
Regards,
Tom Ogilvy


"Iurie" wrote:

I developed a user form to search data in a list of records. A combo box on
the form is linked to the list. Now what I am wandering is if it is possible
to set up the combo box to select the active cell in the list when an item in
the combo box is selected.

Thanks,
Iurie T

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
Find Record Box OldGuy Excel Discussion (Misc queries) 1 January 30th 08 07:58 PM
Find record MarkN Excel Worksheet Functions 3 November 9th 06 07:42 AM
Find Record Janis in Minnesota Excel Discussion (Misc queries) 0 September 2nd 05 04:54 PM
Find the Record Syed Haider Ali[_11_] Excel Programming 2 August 21st 05 11:03 PM
Finding a record using multiple combo boxes as my search criteria sdg8481 Excel Discussion (Misc queries) 8 March 8th 05 08:36 PM


All times are GMT +1. The time now is 02:16 PM.

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

About Us

"It's about Microsoft Excel"