L Lars-Åke Aspelin Feb 4, 2010 #3 How can I express this in VBA code: countif(c:c,c2) Thanks. Click to expand... Try something like this: WorksheetFunction.CountIf(Sheets("Sheet1").Range("C:C"), Sheets("Sheet1").Range("C2")) Hope this helps / Lars-Åke
How can I express this in VBA code: countif(c:c,c2) Thanks. Click to expand... Try something like this: WorksheetFunction.CountIf(Sheets("Sheet1").Range("C:C"), Sheets("Sheet1").Range("C2")) Hope this helps / Lars-Åke