Examples (OUTPUT EXPORT command)
Export to Word with minimum specifications
OUTPUT EXPORT
/DOC DOCUMENTFILE='/mydocs/myresults.docx'.
All output in the designated Viewer document is exported to the specified file in Word (*.docx) format. If the file already exists, the contents are overwritten.
Export named Viewer document to new sheet in existing Excel document
OUTPUT EXPORT NAME=Region1Results
/XLS DOCUMENTFILE='/mydocs/ResultsByRegion.xls'
OPERATION=CREATESHEET SHEET='Region 1'.
- Contents of the Viewer document named Region1Results are exported to the specified Excel file.
- If the Excel file already exists, a new worksheet named Region 1 is added to the file. If a worksheet with that name already exists in the file, the contents of that worksheet are overwritten.
- If the Excel file does not exist, a file with the specified name is created, and a worksheet named Region 1 is added to the new file.