Number of sheets in an Excel workbook?
Solved
SBOSBO
-
GariDmaths2015 -
GariDmaths2015 -
Hello,
I would like to know how to retrieve the number of sheets in an Excel workbook.
Thank you in advance
I would like to know how to retrieve the number of sheets in an Excel workbook.
Thank you in advance
this formula works but it does not display the correct number of sheets in my workbook!!!
My workbook consists of 12 tabs, each containing 1 sheet, and the formula result shows 29 instead of 12!!!
Why?
Best regards
For the explanations see post #6
For the solutions #5 or #7
=INFORMATIONS("nbFeuil") => "nbfich" = Number of active worksheets in the open workbooks.
You must therefore open one workbook at a time.
=INFO("nbfich")
works correctly and calculates the total number of Excel sheets in all open Excel documents. (Note: "nbfich" and not "nbfeuil").
However, I am looking for a formula that gives the total number of A4 pages in the Excel file.