Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drop Down Menu
How do you create a drop down menu in VBA example a menu with the following options Black Red Gree -- cedtech2 ----------------------------------------------------------------------- cedtech23's Profile: http://www.excelforum.com/member.php...fo&userid=3102 View this thread: http://www.excelforum.com/showthread.php?threadid=50696 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drop Down Menu
Goto menu DataValidation, set Allow to List, and enter the values as comma
delimited list -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "cedtech23" wrote in message ... How do you create a drop down menu in VBA example a menu with the following options Black Red Green -- cedtech23 ------------------------------------------------------------------------ cedtech23's Profile: http://www.excelforum.com/member.php...o&userid=31022 View this thread: http://www.excelforum.com/showthread...hreadid=506963 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drop Down Menu
thank you for the response... I really wanted to know how to do that i the VBA enviroment with a form. sorry I was not clea -- cedtech2 ----------------------------------------------------------------------- cedtech23's Profile: http://www.excelforum.com/member.php...fo&userid=3102 View this thread: http://www.excelforum.com/showthread.php?threadid=50696 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drop Down Menu
With Userform.Listbox1
.AddItem "Black" .AddItem "Red" .AddItem "Green" End With or With Userform.Combobox1 .AddItem "Black" .AddItem "Red" .AddItem "Green" End With -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "cedtech23" wrote in message ... thank you for the response... I really wanted to know how to do that in the VBA enviroment with a form. sorry I was not clear -- cedtech23 ------------------------------------------------------------------------ cedtech23's Profile: http://www.excelforum.com/member.php...o&userid=31022 View this thread: http://www.excelforum.com/showthread...hreadid=506963 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drop Down Menu
From the macro recorded:
Sub Macro12() With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=$A$1:$A$3" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With End Sub HTH Regards, Howard "cedtech23" wrote in message ... How do you create a drop down menu in VBA example a menu with the following options Black Red Green -- cedtech23 ------------------------------------------------------------------------ cedtech23's Profile: http://www.excelforum.com/member.php...o&userid=31022 View this thread: http://www.excelforum.com/showthread...hreadid=506963 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Drop Down choice needs to lead to another drop down menu | Excel Discussion (Misc queries) | |||
Drop dwn menu. Formula to count selection frm menu in anoth cell? | Excel Worksheet Functions | |||
Drop down menu | Excel Discussion (Misc queries) | |||
filter dropdown menu so 2nd drop menu is customized | Excel Worksheet Functions | |||
Cross-referenced drop-down menu (nested drop-downs?) | Excel Worksheet Functions |