Hi Friends,

I am using the below code to remove space in my sheet. It is doing perfectly but last row is not considered.

Kindly help why this code is not removing the space in the last row and what amendment to be done to include the last row.


HTML Code: