View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
isabelle isabelle is offline
external usenet poster
 
Posts: 587
Default What is Wrong with This?

hi Todd,

putting a comma instead a point

a = WorksheetFunction.CountIf(Range("tim"),Range("jeif h",
"sdipriep", "tim", "jppks"))

isabelle

Le 2013-12-23 18:13, Tod a écrit :
Sub Test()
a = WorksheetFunction.CountIf(Range("tim").Range("jeif h",
"sdipriep", "tim", "jppks"))
MsgBox a
End Sub

I'm getting a compile error.

Thanks
Todd