Professional Documents
Culture Documents
EXCEL-3 Quick Ways To Get A List of All Worksheet Names in An Excel Workbook
EXCEL-3 Quick Ways To Get A List of All Worksheet Names in An Excel Workbook
Search
Search
Cancel
Product Quicklinks
Quick Download
Quick Buy
Products
Downloads
Order
Developers
Support Center
Company
Partners
Products
Downloads
Order
Developers
Support Center
Company
Partners
Home Solutions Office Solutions Excel Solutions 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook
If you have an Excel workbook that has hundreds of worksheets, and now you want to get a list of all the worksheet names, you can
refer to this article. Here we will share 3 simple methods with you.
Sometimes, you may be required to generate a list of all worksheet names in an Excel workbook. If there are only few sheets, you can
just use the Method 1 to list the sheet names manually. However, in the case that the Excel workbook contains a great number of
worksheets, you had better use the latter 2 methods, which are much more efficient.
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 1/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
4. Later, create a text file.
5. Then, press “Ctrl + V” to paste the sheet name.
6. Now, in this way, you can copy each sheet’s name to the text file one by one.
=REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"")
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 2/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
=INDEX(ListSheets,A1)
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 3/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
10. At once, the first sheet name will be input in Cell B1.
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 4/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
11. Finally, just copy the formula down until you see the “#REF!” error.
Sub ListSheetNamesInNewWorkbook()
Dim objNewWorkbook As Workbook
Dim objNewWorksheet As Worksheet
For i = 1 To ThisWorkbook.Sheets.Count
objNewWorksheet.Cells(i, 1) = i
objNewWorksheet.Cells(i, 2) = ThisWorkbook.Sheets(i).Name
Next i
With objNewWorksheet
.Rows(1).Insert
.Cells(1, 1) = "INDEX"
.Cells(1, 1).Font.Bold = True
.Cells(1, 2) = "NAME"
.Cells(1, 2).Font.Bold = True
.Columns("A:B").AutoFit
End With
End Sub
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 5/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 6/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
4. At once, a new Excel workbook will show up, in which you can see the list of worksheet names of the source Excel workbook.
Comparison
Advantages Disadvantages
Too troublesome if there are a lot of
Method 1 Easy to operate
worksheets
Method 2 Easy to operate Demands you to type the index first
Quick and convenient Users should beware of the external
Method 3
Easy even for VBA newbies malicious macros
Author Introduction:
Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including sql fix
and outlook repair software products. For more information visit www.datanumen.com
Related
3 Methods to Create a List of Hyperlinks to 3 Effective Methods to Get the Path of the 2 Ways to Batch Move All Charts from All
All Worksheets in an Excel Workbook Current Excel Workbook Existing Worksheets to a New Created One in
May 30, 2018 December 14, 2016 Excel Workbook
In "Excel File Recovery" In "Data Recovery" June 8, 2018
In "Excel File Recovery"
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 7/8
7/21/2020 3 Quick Ways to Get a List of All Worksheet Names in an Excel Workbook - Data Recovery Blog
← Previous post
Next post →
Recent Posts
3 Handy Tips for Recovering Corrupt Oracle Database Files
How to Recover Your DBF Database Using the DataNumen DBF Repair Tool
3 Myths about Data Recovery that Do More Harm than Good
3 Myths about Data Recovery Debunked
3 Messages that Mean You Have Data Loss Problems – And 3 Programs That Can Help
How to Recover Corrupted Microsoft Access Databases
Categories
Select Category
Archives
Select Month
Email Address
Subscribe
Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.
Subscribe
Your Email
Latest posts
Privacy Policy
Cookie Policy
Refund Policy
Upgrade Policy
Support and Maintenance Policy
Terms of Use
Site map
https://www.datanumen.com/blogs/3-quick-ways-to-get-a-list-of-all-worksheet-names-in-an-excel-workbook/ 8/8