Is it possible to check if there is a specific worksheet in a workbook.
And when this worksheet is available to delete it, if not go on with the next step.
For example:
I’ve a workbook called BOOK_1, it has the worksheet TEMP. So I have to delete the worksheet TEMP.
But’s also possible that there isn’t a worksheet called TEMP, in workbook BOOK_1, then the macro has to go on with the next step.
I think that this should be done with an:
If….Then…..Else
statement.
And when this worksheet is available to delete it, if not go on with the next step.
For example:
I’ve a workbook called BOOK_1, it has the worksheet TEMP. So I have to delete the worksheet TEMP.
But’s also possible that there isn’t a worksheet called TEMP, in workbook BOOK_1, then the macro has to go on with the next step.
I think that this should be done with an:
If….Then…..Else
statement.