From The Document Foundation Wiki
Jump to: navigation, search


This macro exports a Calc sheet to a PDF. Note that this can be done without a macro, by File ▸ Export as PDF ..., and choosing "Selection/Selected sheet(s)". However it can be desirable to automate/customize this process via a macro, as shown below.