A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to create combo box on whole column fastly?



 
 
Thread Tools Display Modes
  #1  
Old October 9th, 2005, 09:26 AM
accessman2
external usenet poster
 
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  
Old October 10th, 2005, 04:13 AM
Mel Arquiza
external usenet poster
 
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 12:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.