Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() thank u any idea how to creat combobox on a userform yours -- helmekk ----------------------------------------------------------------------- helmekki's Profile: http://www.excelforum.com/member.php...nfo&userid=693 View this thread: http://www.excelforum.com/showthread.php?threadid=26628 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In the VBE, in the menu do Insert = Userform
the control toolbox will appear click on the combobox. go to the userform and rubberband a rectangle where you want the combobox. Use the Userform_Initialize event to populate the combobox if the values in the list will be dynamic, dependent on some other condition. Private Sub Userform_Initialize() Select Case Worksheets("sheet1").range("B9").Value Case 100 combobox1.AddItem 3 combobox1.AddItem 6 Case 75 combobox1.Additem 4 combobox1.AddItem 2 end Select end sub or use whatever is appropriate to populate the combobox. to enter the result in cell, use the controlSource property Sheet3!A5 for example. If the userform is named Userform1 then you show it with Userform1.show as an example. -- regards, Tom Ogilvy "helmekki" wrote in message ... thank u any idea how to creat combobox on a userform yours h -- helmekki ------------------------------------------------------------------------ helmekki's Profile: http://www.excelforum.com/member.php...fo&userid=6939 View this thread: http://www.excelforum.com/showthread...hreadid=266280 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Drop Down List choice selecting another drop down list | Excel Worksheet Functions | |||
multiple select from the drop down list in excel. list in one sheet and drop down in | Excel Discussion (Misc queries) | |||
Drop Down List in Inputbox | Excel Programming | |||
Macro InputBox with Drop-Down List? | Excel Programming | |||
Macro InputBox with Drop-Down List? | Excel Programming |