HI,
I am trying to pass a parameter, a named range on another sheet, to a secondary Sub(). The named range is Slist and it is on a sheet called Setup. In my main Sub() I define
Dim MenuList As Range
Set MenuList = ThisWorkbook.Sheets("Setup").Range("SList")
and call the secondary Sub() as
Call Add_Drop_Down_Menu_Cell(MenuList)
My secondary Sub() is
I am getting application-defined or object defined error 1004. It appears that the Sub cannot locate or access my MenuList. Is there a way I can check that a correct menu list is being passed tot he Sub? Also, any ideas how to fix this? Thank you.![]()
Please Login or Register to view this content.
Bookmarks