Solved

Headings for Multi Column Listbox

Posted on 2014-02-20
6
241 Views
Last Modified: 2014-02-22
I have a multicolumn list box in Excel 2010. I can populate its 5 columns but I cannot see how to add headings for each column.

I have set ColumnHeads=TRUE.

Any ideas please?
0
Comment
Question by:NormanMitchell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 47

Expert Comment

by:Martin Liss
ID: 39874203
ignore me - sorry.
0
 
LVL 34

Expert Comment

by:Norie
ID: 39874210
How have you populated the listbox?

You can only have headings if yo've populated it from a range.

If you populated it any other way, eg AddItem, List etc,  no headings I'm afraid.
0
 
LVL 47

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39874223
You could add labels above the columns or use a ListView control instead.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 34

Expert Comment

by:Norie
ID: 39874760
Or you could add a small one row listbox above the existing listbox.

This listbox would contain the headers and would have the same column widths as the existing listbox.

A wee bit easier than trying to line up labels to columns.
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 39875009
Or you could add a small one row listbox above the existing listbox.
Good idea.
0
 

Author Closing Comment

by:NormanMitchell
ID: 39878939
Shame Microsoft (or the authors of VBA can't provide a simple solution. But yours stirred up my brain to find ways round. Many thanks
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question