Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 110
Default Adding items to columns in a listbox

I have a two column listbox, called Listbox1.

I want to add the headers to the column heads, and then I want to add data
from my worksheet (but I don't want it bound to the data).

However, I'm not sure on the syntax
The column headers are "Company" and "SIB"
And the values in the first row would be Range("A2").value and
Range("B2").value

Could someone please help?

Thanks
Daniel


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Adding items to columns in a listbox

Column headings can only be specified if you use the .listfillrange/.rowsource.

Maybe you could add a label above the listbox?

Daniel Bonallack wrote:

I have a two column listbox, called Listbox1.

I want to add the headers to the column heads, and then I want to add data
from my worksheet (but I don't want it bound to the data).

However, I'm not sure on the syntax
The column headers are "Company" and "SIB"
And the values in the first row would be Range("A2").value and
Range("B2").value

Could someone please help?

Thanks
Daniel


--

Dave Peterson
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
DONT WANT TO SEE LISTBOX SELEXTED ITEMS WHEN COME BACK TO LIST BOX CAPTGNVR Excel Discussion (Misc queries) 0 January 29th 07 08:44 PM
filtering to show items in a listbox eileenj Excel Discussion (Misc queries) 1 August 11th 06 01:30 PM
Setting up a validation of data listbox to provide the unique items within a range [email protected] Excel Worksheet Functions 8 July 30th 06 09:00 AM
Deleting Duplicate items in a ListBox CLamar Excel Discussion (Misc queries) 24 June 13th 06 06:22 PM
Problem using INDEX to select items in listbox Shazbot Excel Discussion (Misc queries) 3 April 28th 06 09:06 AM


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