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

After a bit of thinking and groping about I managed to get column head
to work by putting th following into :-
Private Sub UserForm_Initialize()

ListBox1.ColumnHeads = True 'show headings
ListBox1.RowSource = "B2:D2" 'point at column headers
offset?

I had three colunm's so "B2:D2" gives three headings, although I di
notice to get the right result I had to point to data at row 2 and no
row where the data was?

Hope this helps any one else trying to get this working.

Noggin

PS still like to know why the offset though

--
Message posted from http://www.ExcelForum.com

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
Print Column Heads WITHOUT Excel Column Lables Sarah E Excel Worksheet Functions 1 June 19th 08 07:06 PM
Changing column heads from ABC to 123 Sanjeev Raghavan[_2_] Excel Discussion (Misc queries) 2 June 4th 08 06:02 AM
column heads 4most New Users to Excel 5 April 25th 05 05:52 PM
heads of column (listbox in UF) Mark[_17_] Excel Programming 2 June 15th 04 06:56 AM
Column heads for list box - how to do it Oliver Kharraz Excel Programming 1 November 18th 03 01:04 PM


All times are GMT +1. The time now is 10:40 AM.

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"