Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aouttier

macrumors member
Original poster
Mar 3, 2016
42
0
Belgium
I have the following code to print a pages file:

Code:
tell application "Pages"
             set Doc to open PathFileDoel as alias
             set DocPDF to PathFileDoelPDF
             export Doc to file DocPDF as PDF
             close Doc
end tell


Is there a similar command to export a numbers file to PDF (I suppose so) and can I choose the sheets to export?
The numbers file contains 5 sheets, and I only want to export 3 of them.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.