ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Response to "Can I get a list of names of all the tabs..." (https://www.excelbanter.com/excel-discussion-misc-queries/128634-response-can-i-get-list-names-all-tabs.html)

Bob Umlas, Excel MVP

Response to "Can I get a list of names of all the tabs..."
 
Couldn't reply, so posting as new!

Write a Function, in VBA like:
Function tabName(idx As Integer) As String
tabName = Sheets(idx).Name
End Function
(Alt/F11; then Insert/Module. then put in the above).
In the worksheet, enter
=TABNAME(ROW(A1))
and fill down for as many sheets as there are.


All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com