lato VBA
Option Explicit
Sub SpecialCells()
Dim ws As Worksheet
Dim rgSpecial As Range
Dim a As Integer
On Error Resume Next
Set ws = ThisWorkbook.Worksheets("foglio1")
Set rgSpecial = ws.Range("a1:d5").Cells.SpecialCells(xlCellTypeFormulas, xlFormula)
a = WorksheetFunction.Count(rgSpecial)
Set rgSpecial = Nothing
Set ws = Nothing
End Sub
Qual è il punto di avere gusti diversi, se non mostrare che i cervelli lavorano diversamente, che pensiamo diversamente? ( Alan Turing)
Sempre il mare, uomo libero, amerai!
( Charles Baudelaire )