Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need help to create a Macro to fill a list box with names from
another sheet and then when the list box changes to activate another macro that will display some charts. So far I only have the following code: Range("B5").Select ActiveWorkbook.Names.Add Name:="EmployeeNames", RefersToR1C1:= _ "=Employees!R1C1:R230C1" ActiveWorkbook.Names.Add Name:="EmployeeNames", RefersToR1C1:= _ "=Employees!R1C1:R230C1" With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=EmployeeNames" .IgnoreBlank = True .InCellDropdown = True .InputTitle = "" .ErrorTitle = "" .InputMessage = "" .ErrorMessage = "" .ShowInput = True .ShowError = True End With I got it from using th emacro recorder. Now I am stuck Can someone please help me Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003. Data/Validation/Settings - Allow/List: sizing list? | Excel Discussion (Misc queries) | |||
excel list of names, addresses and email to address book/contact list??? | Excel Discussion (Misc queries) | |||
How to Create a macro from drop down list (Validation List) in excel | Excel Programming | |||
Want to Create a List in Excel 2002; Don't see List in Data Menu? | Excel Discussion (Misc queries) | |||
My Excel drop-down list eliminates from list options chosen. Help | Excel Programming |