LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 144
Default Help with listboxes

I need help with the following: Below is what I have for my list boxes. I
have three list boxes in a tab control page in my Userform. This is fine.
However, I need to have the column heads show in my listboxes. I was told to
use "RowSource" in the properties. However, when I enter "A2:F27" in the
"RowSource", I get Run Time Error 70. I have review the forum for answers
and my understanding is that you can only use code or "RowSource" for range.
How than can I get my column heads to show in the list box??? Thank you in
advance for any information you can provide.


Private Sub UserForm_Initialize()
Me.txtFormDate = Date
'Me.FormDate = format(date,"mm-dd-yyyy")
Me.ListBox2.List = Sheet7.Range("A2:F27").Value
Me.ListBox3.List = Sheet1.Range("A2:G78").Value
Me.ListBox4.List = Sheet6.Range("A2:B300").Value
 
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
Need help with Listboxes! Angelus[_2_] Excel Programming 4 January 24th 06 04:50 AM
listboxes [email protected] Excel Programming 3 February 22nd 05 04:01 PM
listboxes [email protected] Excel Programming 2 February 22nd 05 10:31 AM
Listboxes 2 Denise Excel Programming 2 June 8th 04 06:39 PM
Listboxes Lionel Fridjhon Excel Programming 0 April 5th 04 06:28 PM


All times are GMT +1. The time now is 05:57 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"