I need to have a vba macro code to delete certain worksheets with names such as sheet1, sheet2, ... sheetn. , so same name with different suffix. I want to delete these sheets only if they exist in the workbook. That is, the logic is something like this :
if sheetname="Sheet1" or "Sheet2" or, ... "Sheetn" then delete.
Could anyone help me with this macro code?
Many thanks in davance !!