Hard code Listbox Header Text

R

Ryan H

I have a listbox with 5 Columns that has a header row. Is there a way to
hard code the text that is in the header in the userform Intialize Event? I
know you can do it with RowSource, but I wanted a way to do it with VBA.

Thanks in Advance!
 
D

Dave Peterson

You could assign the rowsource in code, but that's probably not what you meant.

You have to use the rowsource to get the headings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top