How to copy data from one excel workbook to another excel workbook

Hi @gulshiyaa

Your working are work for me with equivalent data.
But when the time I plugged in my original data the error occurred.
Capture

How am I going to fix this error?

Thanks and best regards.