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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multicolumn listbox

Status
Not open for further replies.

hysaccess

Programmer
Joined
May 27, 2003
Messages
12
Location
AU
I'm back again,

I am having trouble adding multicoloumns to a listbox by code ... I can only add items to the first coloumn ...

Help ??

 
When you are filling in the listbox rows, use the Column property:

Me.listboxname.Column(0) = "John Smith"
Me.listboxname.Column(1) = "222 Acorn Lane"
Me.listboxname.Column(2) = "Somerset"
Me.listboxname.Column(3) = "HI"


[shadeshappy] Cruising the Information Superhighway
(your mileage may vary)
 
Try this

Me.thelistbox.Columncount = 3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top