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: 4
Default List box query

Hi all,

I am having a problem with a Listbox.

I have a list box which retrieves the following in the columns

reg# Fullname Sex Fname Lname

I populate the list by using an autofilter using a textbox, The problem I
am having the autofilter is done by using wither the first name or last
name. which is columns 4 or 5. But I need the Reg # which is column 1.

here is the simple code I am using and how can this be changed to suit

Private Sub ListBox1_Click()
Sheet3.Range("A10").Value = ListBox1.Value

End Sub

Thanks in advance

Greg


 
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
List box query Greg[_27_] Excel Programming 0 June 20th 06 05:32 PM
Drop down list query fullers Excel Programming 1 May 10th 06 05:34 PM
List Box Input to query Anusha Excel Discussion (Misc queries) 0 September 9th 05 10:14 PM
List Query aries0070 Excel Worksheet Functions 6 July 11th 05 11:09 AM
Dependent List Query John Excel Worksheet Functions 2 October 28th 04 06:13 PM


All times are GMT +1. The time now is 06:53 AM.

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"