After this process, I am trying to rename the file in another process, there rename is failing(using java renameTo method) because file used by another process it says.
Had tried using workbook dispose also in finally clause. So was thinking of returning as a file and try.
Any suggestions?
@sabkan
By testing on the latest version v24.7 using the following sample code, the program can run normally without any exceptions. Please refer to the attachment. result.zip (13.2 KB)
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.