G
Guest
Is there a function that determines if a particular string is the name of a sheet in a workbook? Something like
x = ISSHEET(MyString
where x is T/F or the sheet index number. I can do the search using the following code
For Each Sh in ThisWorkbook.Sheet
If MyString = Sh.Name Then ..
but I need this function to be called millions of times, so if there is a quicker way to accomplish this it would help greatly
Randal
x = ISSHEET(MyString
where x is T/F or the sheet index number. I can do the search using the following code
For Each Sh in ThisWorkbook.Sheet
If MyString = Sh.Name Then ..
but I need this function to be called millions of times, so if there is a quicker way to accomplish this it would help greatly
Randal