Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
InputBox | Excel Programming | |||
Inputbox for a formula | Excel Discussion (Misc queries) | |||
InputBox value in formula problem | Excel Programming | |||
Value in a inputbox | Excel Programming | |||
Inputbox and Application.InputBox | Excel Programming |