Moved the Wrong cell reference formula overwrite to the exception
catching block.
changed the wrong cell reference overwrite to the catch exception block
of code.