Hello,
I have a folder where I need to delete 300+ "2022" sheets. I have built a macro to add in new year sheets (2024,2025, etc.), however, I am hoping you all can help me with building a macro to delete certain sheet names. Some folders won't contain 2022 sheets so I am trying to find something that will account for the error it will throw if the workbook it opens doesn't contain that specific sheet. Thank you all!
I have a folder where I need to delete 300+ "2022" sheets. I have built a macro to add in new year sheets (2024,2025, etc.), however, I am hoping you all can help me with building a macro to delete certain sheet names. Some folders won't contain 2022 sheets so I am trying to find something that will account for the error it will throw if the workbook it opens doesn't contain that specific sheet. Thank you all!