View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tod[_5_] Tod[_5_] is offline
external usenet poster
 
Posts: 1
Default What is Wrong with This?

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