Hi Ashish,
I am getting an error when I try to write any data in the xlsx file . Here is the screenshot.Also to add , the file is getting corrupted ,the data are lost and I am not able to open the file even manually .I am getting an error message as attached below. Please help me on this as xlsx reading & writing is important in all the projects.
Error message while opening the xlsx
Instructor
Ashish Thakur Replied on 06/01/2019
You have to make sure that the xlsx file is closed
I running the code only after the file is closed,still the same error.
Instructor
Ashish Thakur Replied on 09/01/2019
Please zip and send your project
Also the xls file
Please find the project & xls file attached.
I tried importing your code, it worked absolutely fine.
All you need to do is that keep the file in some other drive and it's closed.
Instructor
Ashish Thakur Replied on 23/01/2019
Please implement the suggestion by Abhishek and let us know if you're still facing the issue.