Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Friends2005
 
Posts: n/a
Default How I can built combo box step by step

I need to built Combo box in which I can choose from down list menu. could
you advise step by step how I can do it.
  #2   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

Have you tried looking in Help?

--

Vasant

"Friends2005" wrote in message
...
I need to built Combo box in which I can choose from down list menu. could
you advise step by step how I can do it.



  #3   Report Post  
Friends2005
 
Posts: n/a
Default

Yes I tried.
I know how I add combo box, but my question how I can put items in this box
in order to use it as (pick up from down list)

regards,

"Vasant Nanavati" wrote:

Have you tried looking in Help?

--

Vasant

"Friends2005" wrote in message
...
I need to built Combo box in which I can choose from down list menu. could
you advise step by step how I can do it.




  #4   Report Post  
mangesh_yadav
 
Posts: n/a
Default


3 ways to add items, assuming you have selected the combobox from the
control toolbox:

1.
Enter the following code in the sheet module
Private Sub Worksheet_Activate()
ComboBox1.ListFillRange = "Sheet1!A1:J10"
End Sub

Or

2. Right-click on the combo and view properties. In the listfillrange,
enter the source of the list

or

3.
Enter the following code in the sheet module
Private Sub Worksheet_Activate()
ComboBox1.AddItem "item1"
ComboBox1.AddItem "item2"
' and so on
End Sub




Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378526

  #5   Report Post  
Friends2005
 
Posts: n/a
Default

Thanx a lot

"mangesh_yadav" wrote:


3 ways to add items, assuming you have selected the combobox from the
control toolbox:

1.
Enter the following code in the sheet module
Private Sub Worksheet_Activate()
ComboBox1.ListFillRange = "Sheet1!A1:J10"
End Sub

Or

2. Right-click on the combo and view properties. In the listfillrange,
enter the source of the list

or

3.
Enter the following code in the sheet module
Private Sub Worksheet_Activate()
ComboBox1.AddItem "item1"
ComboBox1.AddItem "item2"
' and so on
End Sub




Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378526


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
Dynamic Combo Box benjarfer Excel Worksheet Functions 2 April 8th 05 02:17 PM
connecting combo boxes to yield data in another cell. TxN8tv Excel Discussion (Misc queries) 0 March 14th 05 04:07 PM
extract data from combo box n use it in SQL benj Excel Discussion (Misc queries) 2 February 16th 05 09:54 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM
dynamic combo boxes tjb Excel Worksheet Functions 2 January 25th 05 07:33 PM


All times are GMT +1. The time now is 01:46 AM.

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"