I am using this function to determine whether a worksheet exists in a workbook.
I call the function with this code ...![]()
Please Login or Register to view this content.
The worksheet (WSName) should exist in a second open workbook (wb_pstaff), but I'm getting an error in the calling code highlighted in red. ("ByRef Argument type mismatch").![]()
Please Login or Register to view this content.
Can anyone advise what I need to do to get things working properly?
Bookmarks