Link to home
Start Free TrialLog in
Avatar of lkirke
lkirkeFlag for Australia

asked on

R1C1 Formula - ISERROR Issue

Hello Experts,

Have the following lines in some code and it seems to be getting caught. What have I done wrong exactly?

Regards

LK
ws.Cells(x, 2).FormulaR1C1 = "=IF(ISERROR(INT(RC[-1]),"""",INT(RC[-1]))"
ws.Cells(x, 3).FormulaR1C1 = "=IF(ISERROR(MOD(RC[-2],1),"""",MOD(RC[-2],1)"

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of zorvek (Kevin Jones)
zorvek (Kevin Jones)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lkirke

ASKER

Its always the way. Thank you. :)