Issue with GDXRRW file

Hello,
I am learning to code in GAMS. I recently came across an issue while linking a gdxrrw file with the code, it is returning this error(placed in attachments along with the corresponding code). I can provide additional information if this is insufficient. Please help me to debug this error. Awaiting a reply.
Thank you in advance.

The error is:
DOUBT.PNG
The code which produced the error:
Doubt_code.PNG

Have you checked if the XLSX file is open in Excel when you try to read it with gdxxrw? If so, have you tried running this when the file is closed?