Application.Countif(Range("myRange"),"string")
as an example
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"Peter Morris" <nospam.ple@se wrote in message
. uk...
what's a function I can use in VB to count the
number of times a particular string occurs in
a named range of cells?