Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi to all !!
I have a small problem in Excel97, although I don't know if the Excel version is relevant. In some of my sheets, I've elaborated some complex formulas which, sometimes, can lead to the infamous "#NA" result. I want to replace the "#NA" by a clean 2 characters "NA" string. As there are MANY formulas, I want to develop a VBA sub which does the work : a) pick up the actual formula (which we'll define as FormulaContent) (maybe save the activecell.address so as to be able to write to that range) b) replace it by IF(ISERROR( FC ),"NA", FC) WHERE FC is FormulaContent without the preceeding "=" sign I thank you by advance. Best regards, -- Herve Hanuise |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HELP...Draging cell without changing Formula linked to cell | Excel Discussion (Misc queries) | |||
changing cell formula | Excel Worksheet Functions | |||
how to edit formula without changing formula of each cell | Excel Worksheet Functions | |||
get the value of a formula in cell B1 into cell A1 without changing my current cell selection | Excel Programming | |||
Changing cell from formula to data. | Excel Discussion (Misc queries) |