Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Bolding column headings
Jerry Fowler 
       
16 months ago
I am populating a list box on a form that I have been using code similar to the following;

'Populate Categories on the list box
    Me.MainListBox.RowSource = "SELECT CategoryID, UserID, CategoryName, CreatedAt, UpdatedAt, Status, StatusDate FROM CategoryT"
    Me.MainListBox.ColumnHeads = True
    Me.MainListBox.ColumnCount = 7
    Me.MainListBox.ColumnWidths = "0cm;0cm;5cm;2cm;2cm;3cm;2cm;"

What I have been trying to do but have yet to find a way to do is to bold the column headings since I am using the .ColumnHeads = True
Jennifer Neighbors  @Reply  
     
16 months ago
I have found the best way to create nice column headings is to set .ColumnHeads = False and position one or two labels where I'd want the column heads, using Bold, Italic, or Font Colors to style the heading.
Kevin Robertson  @Reply  
           
16 months ago
You don't have any control over the formatting of the Column Headers. Like Jennifer said use label instead. You will have full control over formatting and can add code to them if needed.
Jerry Fowler OP  @Reply  
       
16 months ago
I was kind of already figuring that there was no control over it. Thanks for the ideas on what to do and I've started the label headings and that will work just fine.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/7/2026 11:44:10 AM. PLT: 1s