By far the easiest way to do this is to paste the formula into the cell,cut and paste special / value back to the same cell. Record thisoperation using the Macro Recorder and it will generate the code foryou.