U
Utkarsh
Instead of entering a formula like =IF(ISERROR(C1/D1),"",C1/D1), I
would like the user the enter the formula like c1/d1 through an
inputbox. The code below tries to do this but is not working - the
results looks like =IF(ISERROR(y),"",y)
Sub Macro1()
y = InputBox("enter formula")
ActiveCell.Formula = "=IF(ISERROR(y),"""",y)"
End Sub
would like the user the enter the formula like c1/d1 through an
inputbox. The code below tries to do this but is not working - the
results looks like =IF(ISERROR(y),"",y)
Sub Macro1()
y = InputBox("enter formula")
ActiveCell.Formula = "=IF(ISERROR(y),"""",y)"
End Sub