New Participant
January 11, 2024
Answered
Error running Javascript to convert from PDF to XLSX
- January 11, 2024
- 1 reply
- 1846 views
While running the code: saveAs("C:\temp\temp.xlsx", "com.adobe.acrobat.xlsx") it will start converting before the error: "The specified file could not be written to. It may be in use" pops up and the conversion fails. So I decided to test that theory using the Windows utility File Locksmith, the only program accessing the PDF is Acrobat DC.
I also tested just converting through Export menu and it works just fine, this error only occurs when using JavaScript. How can I bypass this issue as I am looking to automate this process using VBA after confirming the javascript is working.
