Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a listbox(Listbox4) that i have set to :
ColumnCount = 3 with the BoundColumn=1 When i populate the listbox, i also list the values in a more viewer friendly way by placing a (& vbtab &) in between each Column value. Now i need to place the value that was selected in listbox4 (the 1st value on the Left Column) as : Range("B2").Value = ListBox4.List(ListBox4.ListCount - 1, 1) <=== This does not seem to be the correct value to be placed into cell(B2). How can i get the value that is the LEFT most value in Listbox4 to be placed into Cell(B4) ? Corey.... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do you want
Range("B2").Value = ListBox4.Value this is the value in the first column (BoundColumn) of the listbox entry selected. regards Paul On Jun 15, 5:22 am, "Corey" wrote: I have a listbox(Listbox4) that i have set to : ColumnCount = 3 with the BoundColumn=1 When i populate the listbox, i also list the values in a more viewer friendly way by placing a (& vbtab &) in between each Column value. Now i need to place the value that was selected in listbox4 (the 1st value on the Left Column) as : Range("B2").Value = ListBox4.List(ListBox4.ListCount - 1, 1) <=== This does not seem to be the correct value to be placed into cell(B2). How can i get the value that is the LEFT most value in Listbox4 to be placed into Cell(B4) ? Corey.... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sum of digits in column not giving correct sum | Excel Worksheet Functions | |||
MAX returns correct column, but row -1? | Excel Worksheet Functions | |||
Gaining the Column A Value | Excel Programming | |||
what is the correct formula to add a column with =sum | New Users to Excel | |||
filling a two column listbox from a two column recordset | Excel Programming |