Inserting in the middle of a Formula
Posted by Maud on July 28, 2000 8:22 AM
Hi!
I'm not sure if this is impossible but if someone knows how to do this then cool!
I need a Macro that will insert a Value into the middle of a Formula.
The formula reads: =IF(ISNUMBER(H2),IF(H2<=0.028,"Min",H2/A2),"")
I want a InsertBox/AddBox(?) to add the typed in text into the above formula.
The part it will be inserted is the 0.028 part.
So if I put in the InsertBox/AddBox(?) "0.01" then it will go to the formula and insert 0.01 over the existing 0.028.
So formula will now read =IF(ISNUMBER(H2),IF(H2<=0.01,"Min",H2/A2),"")
The formula is in cell B1
Hope someone can help!
Maud.