Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For my listbox control, I set the value of "ColumnHeads" to True,
meaning that my listbox will contain headers for my columns. I can now see the headers in my listbox, I just dont know how to enter text into each header. how do i do that? thank u Robert |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Those headers come from the row above the range you use for the .rowsource.
If your .rowsource is (say) A2:A10, then the column headings will be from row 1. Robert Crandal wrote: For my listbox control, I set the value of "ColumnHeads" to True, meaning that my listbox will contain headers for my columns. I can now see the headers in my listbox, I just dont know how to enter text into each header. how do i do that? thank u Robert -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, that works. If I set the .Rowsource, I can now see text in my
headers. However, if I now try to add a new item into the listbox (using Listbox1.AddItem), I get an error message that says "Permission Denied". What happened now?? "Dave Peterson" wrote in message ... Those headers come from the row above the range you use for the .rowsource. If your .rowsource is (say) A2:A10, then the column headings will be from row 1. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use the rowsource or you can use additem. You can't use both.
And watch what happens when you use the column headers and additem. Robert Crandal wrote: Ok, that works. If I set the .Rowsource, I can now see text in my headers. However, if I now try to add a new item into the listbox (using Listbox1.AddItem), I get an error message that says "Permission Denied". What happened now?? "Dave Peterson" wrote in message ... Those headers come from the row above the range you use for the .rowsource. If your .rowsource is (say) A2:A10, then the column headings will be from row 1. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform Listbox Headers???? | Excel Programming | |||
Repost of Listbox Headers | Excel Programming | |||
Adding Headers to a listbox | Excel Programming | |||
Reading Row headers into a listbox | Excel Programming | |||
Populating Column Headers in a ListBox | Excel Programming |