Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default VBA ColumnHeads Property for ComboBox

Does anyone know how to make the 'ColumnHeads' appear in a ComboBox?

I have set the property with:

frmFormName.ComboBoxName.ColumnHeads = True

The heading row appears but no text is in it.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default VBA ColumnHeads Property for ComboBox

"VBA Dabbler" wrote in message
...
Does anyone know how to make the 'ColumnHeads' appear in a ComboBox?
I have set the property with:
frmFormName.ComboBoxName.ColumnHeads = True
The heading row appears but no text is in it.


Column heads only work when the RowSource property of your ComboBox is
set to a range on a worksheet. In that case the row values in the row
directly above the row source range will be used as the column head(s).

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default VBA ColumnHeads Property for ComboBox

Thanks for the feedback. I never saw in Microsoft's documentation where that
functionality was restricted to use of the RowSource property. It would be
nice if they would publish it.

Regards,
VBA Dabbler

"Rob Bovey" wrote:

"VBA Dabbler" wrote in message
...
Does anyone know how to make the 'ColumnHeads' appear in a ComboBox?
I have set the property with:
frmFormName.ComboBoxName.ColumnHeads = True
The heading row appears but no text is in it.


Column heads only work when the RowSource property of your ComboBox is
set to a range on a worksheet. In that case the row values in the row
directly above the row source range will be used as the column head(s).

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm



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
OLE Combobox MatchRequired property not working Michael Deathya Excel Programming 4 January 29th 05 11:07 PM
Combobox change property SASMan Excel Programming 1 November 30th 04 11:22 PM
Cont' Value and Text Property of Combobox augustus Excel Programming 0 November 1st 04 10:18 PM
ListBox.ColumnHeads Property Kevin Excel Programming 4 July 16th 04 10:55 AM
Listbox ColumnHeads Dave Baranas[_2_] Excel Programming 6 December 8th 03 10:13 PM


All times are GMT +1. The time now is 10:09 PM.

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

About Us

"It's about Microsoft Excel"