K
KimberlyC
Hi.
I am using the following code to populate a listbox in a user form with data
on a worksheet.
Dim x As Long
For x = 4 To 13
listbox1.AddItem (ActiveSheet.Cells(9, x))
Next
End Sub
This is working great.. however.. I now would like to include two more cells
going down from cells 9 to 11 to display in the listbox for each item.
For example.... if cell D9 has "Kim" entered and D10 has "Smith" and D11
has "Manager "... I would like the list box to show " Kim Smith Manger " for
the item listed.
I'm not sure how to do this... or if it's possible.
Any help is greatly appreciated...
Thanks!
Kimberly
I am using the following code to populate a listbox in a user form with data
on a worksheet.
Dim x As Long
For x = 4 To 13
listbox1.AddItem (ActiveSheet.Cells(9, x))
Next
End Sub
This is working great.. however.. I now would like to include two more cells
going down from cells 9 to 11 to display in the listbox for each item.
For example.... if cell D9 has "Kim" entered and D10 has "Smith" and D11
has "Manager "... I would like the list box to show " Kim Smith Manger " for
the item listed.
I'm not sure how to do this... or if it's possible.
Any help is greatly appreciated...
Thanks!
Kimberly
