Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do i input data into a 2nd column in a listbox?

How do i add data in to a 2nd column on a listbox..
i can get the second column showing but no matter wat i do all the dat
goes in the 1st column.. please help this is really important for me.
thanks in advanc

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do i input data into a 2nd column in a listbox?

-BUMP- :mad

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do i input data into a 2nd column in a listbox?

where do you have the data to be displayed in the listbox.
You can do this way:
your data lies in cells A1:B2 as follows
abc pqr
mno xyz

in the properties,
put sheet1!A1:B2 in the listfillrange
put 2 in columncount
put 20, 20 (for e.g.) in columnwidth



mangesh


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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How do i input data into a 2nd column in a listbox?

ListBox1.ColumnCount = 2
for i = 1 to 10
with listbox1
.AddItem "item" & i
.List(.Listcount-1,1) = "2ndColumnItem" & i
End with
Next

--
Regards,
Tom Ogilvy

"Devitt " wrote in message
...
How do i add data in to a 2nd column on a listbox..
i can get the second column showing but no matter wat i do all the data
goes in the 1st column.. please help this is really important for me..
thanks in advance


---
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
listbox B conditional of input in Listbox A Kim K Excel Discussion (Misc queries) 1 October 31st 06 08:27 PM
Searching data in a column via Input Box Chris New Users to Excel 2 April 29th 06 01:02 AM
How to set the autofill options in a column of a input data table JKB Excel Discussion (Misc queries) 1 July 16th 05 03:39 PM
Data - Table - row / column input cell Sami Gad Excel Programming 0 September 18th 03 08:05 AM
Validating user input to a listbox Stuart[_5_] Excel Programming 3 September 6th 03 07:32 AM


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