Excelのシート一覧を取得する
環境
Windows 10
Microsoft Excel 2016
vba
経由で実行する
alt
+
F11
で
Visual Basic Editor
を起動
イミディエイトウィンドウ
で以下を実行
code:getWorkbookSheets.vba
For Each i In ThisWorkbook.Sheets: debug.print i.name : next i
参考
EXCEL 全シート名を取得し一覧に!VBAを利用して一瞬で解決