I'm trying to write code that searches a workbook for a worksheet. The worksheet name is a date (9-30-02). If the worksheet is found, it is activated. If it's not found, it is created.
I can do the .Activate and .Add code. I'm getting a Run-Time error 9 (Subscript out of range) error if the sheet isn't found. How do I suppress that error and do the .Add?
Thoughts?
DreamerZ
I can do the .Activate and .Add code. I'm getting a Run-Time error 9 (Subscript out of range) error if the sheet isn't found. How do I suppress that error and do the .Add?
Thoughts?
DreamerZ