Retreive sheet names of a workbook

mr2bart

Board Regular
Joined
Dec 18, 2014
Messages
57
Hi all,

I am stuck on one point: I want to retreive names of all the excel sheets but without macro.
In fact to get the list of sheets available with its names on a specific other sheet.

Do you have solution ? I search with sheet() or Sheets() but can't use with indirect().

Thanks!!!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi All,
I found it!!! with function =CELL("filename",A1), it returns the complete info directory + filename + sheet name
After need to find text "]" and mid(cell where is cell formula,findtext"]",length of cell where is cell formula) and you got it !
 
Upvote 0
Hi mr2bart,

You can list all the sheet names in a workbook using a named range and formula. Have a look at my post (number 11) from here.

Your formula will only put the active sheet name in the cell.

HTH

Robert
 
Upvote 0
Thanks, same concept yes, I didn't checked before on this forum. I could have won much time :)
And agree once we get it, we can do list etc with other fonctions
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,225
Members
448,877
Latest member
gb24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top