Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Multiple cells to listbox

Please help me if you can

I could do it in some sort of drop down box, the form can only be
modified from the user forms, so i cant use the
Data|Filter|autofilter to column A due partially because some of
the people whom have access to it could change things that dont need
to be changed. As for the Splitting the columns i Could do that but
then i would have to modfiy the still growing 14 pages of code :|
so
im trying to figure out the easiest way to do this. I was using

Column A is a list of names columns B D and F etc have dates in
them.
but the last names could be the same. so i need it to pull up the
entire cell then when selected in the listbox/combobox wichever , to
go directly to the line that name was on, and then start returning
data to textboxes on a different form.

Dim r As Range
Dim ws As Worksheet
Dim SearchTxt As String
Set ws = Worksheets("sheet1")
SearchTxt = TxtCaseName.Text
Set r = ws.Cells.Find(What:=SearchTxt, After:=ws.Range("A1"), _
LookIn:=xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False)
If r Is Nothing Then
Unload Me
FCreate.Show
Else
Unload Me
FormLoad.TxtShelterDate =
Range("A6:AX4500").Find(FormLoad.TxtCaseName,
LookIn:=xlValues).Offset(0, 1)

to search, but how would i make it to where I could Post the Results
into a listbox or combo box, or some kind of drop down menu and then
when you choose the selection ( the specific name you wanted) That
it
will pull up the data on the same row column b, d, f etc
im thinking maybe declare a variable store them there and
use .additem?

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
Multiple Column Listbox bigpalooka Excel Programming 0 November 14th 06 05:47 PM
Write Listbox selection to Multiple cells eklarsen[_11_] Excel Programming 1 November 24th 05 08:07 AM
Multiple Listbox? Population Pete Excel Programming 1 April 30th 05 03:29 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Sorting ListBox results or transposing ListBox values to other cells for sorting Rob[_8_] Excel Programming 1 July 9th 03 04:35 AM


All times are GMT +1. The time now is 06:23 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"