C
Corey
The following is a segment of code i use to populate a Listbox.
I now need to gain the value that when the Listbox3 value is selected(not
multiselect) and place it into Textbox4
Hoiw can i achieve this?
I cannot seem to get the correct syntax for the 2nd column.
If i use Textbox4.value=Listbox3.value, i get the Column 1 value not the
Column 2 Value
********************************************************
ListBox3.AddItem .Cells(myrow, 4).Offset(, i).Value
ListBox3.List(ListBox3.ListCount - 1, 1) = .Cells(myrow, 1).Value
********************************************************
I am sure it is something like:
Textbox4.value=Listbox3(ColumnCount,1).value
Corey....
I now need to gain the value that when the Listbox3 value is selected(not
multiselect) and place it into Textbox4
Hoiw can i achieve this?
I cannot seem to get the correct syntax for the 2nd column.
If i use Textbox4.value=Listbox3.value, i get the Column 1 value not the
Column 2 Value
********************************************************
ListBox3.AddItem .Cells(myrow, 4).Offset(, i).Value
ListBox3.List(ListBox3.ListCount - 1, 1) = .Cells(myrow, 1).Value
********************************************************
I am sure it is something like:
Textbox4.value=Listbox3(ColumnCount,1).value
Corey....