Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selecting the 2 column of a list box

Status
Not open for further replies.

kopy

Technical User
May 30, 2002
141
US
I have a multi-slect listbox with 4 columns. The first column is the userid and is the bound column. The next column is the username and I'm trying to select it with the following code:

For Each item In lbo.ItemsSelected
strReportTitle = strReportTitle & " - " & lbo.ItemData(item)
Next

How do I change the code to select the username column?

Thanks, Kopy
 
Hi..

You could use the Column Property

strReportTitle = strReportTitle & " - " & lbo.Column(1, Item)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top