Copy link to clipboard
Copied
Hi Everyone,
I have a PDF with 7-8 pages and i need to export just page 3 to Excel.
Is there a way to do it by writing a script so that people can do it by just clicking on a link or object?
Thanks!!
Copy link to clipboard
Copied
Not directly, but what you can do is export this one page as a new file (using extractPages), then use the saveAs method with the correct conversion string to save it as an Excel spreadsheet, then close the newly created file without saving it.
Note that the user will have to specify the path of the Excel file, though. If you want it done completely automatically you will have to use a folder-level script file, installed on the machine of each user.
Copy link to clipboard
Copied
Do you really want to convert the PDF page to an excel document? or do you want the data on the page in Excel?
If it is the later, then you'll get better results by extracting the data from the page and formatting it for import into excel.