Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
accessman2
 
Posts: n/a
Default How to create combo box on whole column fastly?


Hi:

How can I create combo box on one whole column fastly?

Please let me know, thanks.

Thanks.


--
accessman2
------------------------------------------------------------------------
accessman2's Profile: http://www.excelforum.com/member.php...o&userid=27953
View this thread: http://www.excelforum.com/showthread...hreadid=474563

  #2   Report Post  
Mel Arquiza
 
Posts: n/a
Default

Here is a fastly code:

Dim ListItems As Variant
Dim i As Integer

ListItems = Range("A1:A1000").Value
ListItems = Application.WorksheetFunction.Transpose(ListItems)

With CB1 'CB1 Stands for ComboBox1
For i = 1 To UBound(ListItems)
.AddItem ListItems(i) ' populate the listbox
Next i
End With

Hope it helps.

"accessman2" wrote:


Hi:

How can I create combo box on one whole column fastly?

Please let me know, thanks.

Thanks.


--
accessman2
------------------------------------------------------------------------
accessman2's Profile: http://www.excelforum.com/member.php...o&userid=27953
View this thread: http://www.excelforum.com/showthread...hreadid=474563


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
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
how i choose the column from a combo box Alberto Vargas Excel Discussion (Misc queries) 4 July 22nd 05 11:07 PM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
To create a stacked column chart and group the stacked bars togeth Jacqueline Charts and Charting in Excel 1 February 17th 05 11:05 PM


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