J
jamasm2010
Hi,
I have a list of numbers in column A that are grouped together. What I needto do is count the number of each numeric occurrence and alert the user ifthe number is greater than 2. So if I have the number 5 show up 3 times. The user will be notified that there is a problem. I believe the code would be similar to:
If Application.Countif(ColumnA:A, rowname) > 2 then
MsgBox "Problem on line" & rowname & "."
End if
Thanks,
James
I have a list of numbers in column A that are grouped together. What I needto do is count the number of each numeric occurrence and alert the user ifthe number is greater than 2. So if I have the number 5 show up 3 times. The user will be notified that there is a problem. I believe the code would be similar to:
If Application.Countif(ColumnA:A, rowname) > 2 then
MsgBox "Problem on line" & rowname & "."
End if
Thanks,
James