Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 144
Default Userform Listbox Headers????

I have a userform with several listboxes. I want to show the column heads in
the list box. When I set ColumnHeads property for listbox to "True", I only
get blank columnheads in my list box. Can someone please help me to set
the column heads in my list box to show? The only way it works is that I
add the row when defining the range in my worksheet and setting the
ColumnHeads to "False". However, this does not work when you have check
boxes because then you get a checkbox next to the name of the column. Can
someone please? Thank you in advance for any help you can provide. Thank
you.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Userform Listbox Headers????


For the RowSource of the ListBox, have only the range *below* the
headers. When you set the ColumnHeads to True, the row *above *the
data/RowSource range is used as headers. Choosing the ListStyle to show
checkboxes/radio buttons works as you would want it to.


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=133931

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repost of Listbox Headers Mike Milligan Excel Programming 1 October 19th 06 12:35 AM
Adding Headers to a listbox Mike Milligan Excel Programming 3 October 18th 06 08:48 PM
Reading Row headers into a listbox Steve Excel Programming 5 June 13th 06 04:21 PM
userform listbox cannot get listbox.value to transfer back to main sub [email protected] Excel Programming 1 May 17th 06 09:44 PM
Populating Column Headers in a ListBox KL[_4_] Excel Programming 4 September 1st 04 12:55 PM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"