Hi guys, I'm trying to add a specific name to the column headers on a value listbox created manually on VBA, and can't find out how to add the tittles I want on each column. Everything works perceftly, I just want to add the column head names on the listbox.
This how the code is structured:
I tryed using something I found in some threads, but this property is not working for me.
Thanks in advance for your time and help
This how the code is structured:
Code:
While not rs.EOF
strItem = "[" & DLookup("OC", "tblOffers", "IDOffer = " & strOffer) & "] " & DLookup("Description", "tblOffers", "IDOffer = " & strOffer)
Me.lstOffers.AddItem (strItem & ";" & iLote & ";" & DLookup("Lote", "tblOffers", "IDOffer = " & strOffer))
rs.MoveNext
Wend
I tryed using something I found in some threads, but this property is not working for me.
Code:
me.lstOffers.Column(0).Head = "Whatever"
Thanks in advance for your time and help
