Thread: Count A's
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Count A's


cNum = Application.Countif(Range("Letters"),"A")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Spencer Hutton" wrote in message
...
is there a VBA statement that can return the number of times the letter A
appears in a range named ("Letters"). this range contains only single

letter
values, A, G, M, I, P, and R. i want to count how many A's there are in

this
range. TIA.