Never mind. I was able to achieve what I wanted by calling ‘endcelledit’ on the cell before submit.
Thanks