如題 在VBA想要批量show或者hide sheet 但是不想一個一個去指定sheet的號碼 想指定sheet的特徵 例如 某一群sheet都是 2020開頭(ex 2020-01 , 2020-02 , 2020-03...等等) 我能寫一行VBA來指定這些2020開頭的sheet嗎? 感謝
- 取得 Workbook.Sheets.Count- 迴圈取得 sheet name- 如果 sheet name 符合條件 (例如2020開頭), then--> show or hide sheet