Guys, why doesn't this code work without the TypeName thing?
Dim FormulaTest As Variant
FormulaTest = Teste.Range("A1:B2").HasFormula
If TypeName(FormulaTest) = "Null" Then
PS: I have text in A1 and a formula in B2...