Ross,
To pass a workbook reference to the function, do something like
If SheetExists("Sheet123",Workbooks("Book2.xls")) = True Then
This will test whether Sheet123 exists in Book2, regardless of
what workbook is active or what workbook the code resides in.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)