Hello Sun Hung,
Cell reference B1:BX where X is the row till which you might want to delete.
Can you please try this and check once?
------------------------------
Best Regards,
Ved Sengupta
RPA Developer
Deloitte India (Offices of the US)
Bangalore | INDIA
*If you find this post helpful mark it as best answer*
------------------------------