Syntax looks OK to me. Is it only a single cell you are changing when the code fails? Just to be perfectly clear, please indicate exactly which line the code fails on and provide the exact error the debugger reports.

Richard