why error?

J

Jack Sons

Hi all,

The lines below cause my macro to halt with the error message : "error
determined by application" (or something like that, I translated from
Dutch). What could be wrong? When I put the formula in the normal way in
cell L1 it works fine.

Range("L1").Select
ActiveCell.FormulaR1C1 = "=""aantal cursisten =
""&COUNTA(C[-11])+COUNTA(C[-5])-COUNTIF(R[1]:R[65526],""*-03-05"")-1"


Jack Sons
The Netherlands
 
Top