using countif into a formula
Get the address of the cells, first_cell.address and last_cell.address
--
HTH
RP
(remove nothere from the email address if mailing direct)
"fuzzy" wrote in message
oups.com...
I want to put a formula in a cell, to check if a range of cells
contains one character.
I think it seems like
ActiveCell.Formula = "=" & "COUNTIF(" & first_cell & ":" & last_cell &
";" & ""P"" & ")"
where first_cell and last_cell are the bounds of a range
and "P" is the character I want to check if it exists
but it does not work
|