I feel like I'm going crazy - this should be so simple, but I can't figure out how to do it!
I need to set the heading of a listbox in my code. I'm not populating the listbox from a range, I actually want to assign the value in my code.
So, it's a 4 column list box. Each column needs a heading.
I can switch headings on with ListBox.ColumnHeads ; I can set the number of columns with ListBox.ColumnCount but how on earth do I actually PUT something into the headers?
I've looked through previous posts, and this question has come up before, but there didn't seem to be an answer.
Can anyone help?
thanks in advance,
G
I need to set the heading of a listbox in my code. I'm not populating the listbox from a range, I actually want to assign the value in my code.
So, it's a 4 column list box. Each column needs a heading.
I can switch headings on with ListBox.ColumnHeads ; I can set the number of columns with ListBox.ColumnCount but how on earth do I actually PUT something into the headers?
I've looked through previous posts, and this question has come up before, but there didn't seem to be an answer.
Can anyone help?
thanks in advance,
G