View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Papa Jonah Papa Jonah is offline
external usenet poster
 
Posts: 148
Default please explain this syntax

cells(r+1,"af").formula= "= countif(" & rngbas.address & "," & cells(r+1,
"AE").address & ")"

I think this means that a formula is being inserted in cell (r+1,af).
The formula is counting all of the occurrences of the contents of cell(r+1,
ae) that can be found in a particular range.
I know that rngbas is a range.
I do not understand the rngbas.address or the second mention of .address.

Please interpret for me.
TIA
Jeff