This is a discussion on Excel 2010: How to get worksheet names in a list within the Excel Questions forums, part of the Question Forums category; I have 20+ sheets in a workbook and want to create an Index of sorts that simply tells me the ...
I have 20+ sheets in a workbook and want to create an Index of sorts that simply tells me the name of all the sheets that are in the workbook.
Is there an easy way to do this in 2010 or is it just manual entry?
I have 14 workbooks I will need to do this to, so looking for the most economical way to accomplish this.
A macro to do this could be:
For i = 1 to sheets.count
cells(i, 1).Value = sheets(i).name
If you need this for many workbooks, it might involve opening them directly to list their sheet names, but there is a way to do that list without opening workbooks, just more code needed to do so.