combobox.ColumnHeader(0).Value = "how?"

combobox.ColumnHeader(0).Value = "how?"

Anonymous
Not applicable
314 Views
1 Reply
Message 1 of 2

combobox.ColumnHeader(0).Value = "how?"

Anonymous
Not applicable
i know this is a dumb question but i've searched help and google on both vb
and vba and cant' find how to set combobox or listbox header values
me.ComboBox1.ColumnHeads = True creates headers but I can't figure out how
to put titles in them...duh!
i've tried several obviously nonexistant properties but none of them
exist...how about that?

'Me.ListBox1.ColumnHeaders.Add 1, , "Test"
'Me.ComboBox1.ColumnHeaders.Add 1, , "Test"
'Me.ListBox1.ColumnHeaders(0).Caption = "Test"
'Me.ListBox1.ColumnHeaders(0).Value = "Test"
'Me.ListBox1.AddData Array("Title1", "Title2"...etc)
'Me.ListBox1.Column(1, 1).Value = "Test"
'Me.ListBox1.Column(0, 0).Value = "Test"
'Me.ComboBox1.AddItem "TITLE1", 1
'Me.ComboBox1.AddItem "TITLE2", 2
'Me.ComboBox1.AddItem "TITLE3", 3
'Me.ComboBox1.AddItem "TITLE4", 4


:-)
any pointers to a help file explaining that?

thanks
Mark
fwiw acad2007 win2k
0 Likes
315 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
"MP" wrote in message
news:5343228@discussion.autodesk.com...
i know this is a dumb question but i've searched help and google on both vb
and vba and cant' find how to set combobox or listbox header values


decided to use a listview instead cause I found how to enter those headers
still curious that it was so hard(for me) to find how to do the others
0 Likes