What is Wrong with This?

Giganews Newsgroups
Subject: What is Wrong with This?
Posted by:  Tod (someo…@somewhere.com)
Date: Mon, 23 Dec 2013

Sub Test()
    a = WorksheetFunction.CountIf(Range("tim").Range("jeifh", "sdipriep",
"tim", "jppks"))
    MsgBox a
End Sub

I'm getting a compile error.

Thanks
Todd

Replies