Sub Compte_Formules()
Dim Cpt As Long
Dim Feuille As Long
Application.ScreenUpdating = False
NbFeuil = ActiveWorkbook.Sheets.Count
For Feuille = 1 To NbFeuil
Sheets(Feuille).Select
On Error Resume Next
x = Selection.SpecialCells(xlCellTypeFormulas).Count
If Err.Number = 0 Then
Selection.SpecialCells(xlCellTypeFormulas).Select
Cpt = Cpt + Selection.Count
End If
On Error GoTo 0
Next Feuille
MsgBox "Nombre de formules trouvées: " & Cpt
End Sub