If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Displaying Additional Columns in Access Form | Roxanne | General Discussion | 3 | September 20th, 2005 06:50 PM |
Showing more than one column on a Form from a combo box | Roxanne | General Discussion | 1 | August 22nd, 2005 09:30 PM |
Multiple Options Group | Patty Stoddard | Using Forms | 19 | August 4th, 2005 02:30 PM |
Combo Box doesn't work | melwester | Using Forms | 10 | June 29th, 2005 04:10 PM |
Return Count for LAST NonBlank Cell in each Row | Sam via OfficeKB.com | Worksheet Functions | 12 | April 17th, 2005 10:36 PM |