View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
awakening2lite awakening2lite is offline
external usenet poster
 
Posts: 5
Default Counting formula

Showing my ignorance, here. I do not understand this. I do not work in VB.
But, thank you for trying to help.

"Bob Phillips" wrote:

Sub NumFormulae()
Dim oCell as Range
Dum cNumFormulae As Long

For Each oCell In Activesheet.UsedRange
If oCell.HasFormula Then
cNumFormulae = cNumFormulae + 1
End If
Next oCell
MsgBox cNumFormulae
End Sub

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"awakening2lite" wrote in message
...
How can I find the number of formula in an excel sheet?

TIA