Skip to main content
Skip table of contents

f$Excel PDF export of sheet


f$Excel PDF export of sheet

Exports the current sheet in the current Excel workbook as PDF file.

Syntax:

Status = f$Excel('Sheet', 'PDFexport', Name )

 

Argument

Type

Meaning

 

'Sheet'

String

Keyword

 

'PDFexport'

String

Keyword

 

Name

String

Name of the PDF File.

Result:

Integer

0: command executed successfully

Example:

Status = f$Excel('Workbook','open','c:\\temp\\test2.xls')
Status = f$Excel('Sheet', 'Open', 'Calculation')
Status = f$Excel('Sheet', 'PDFexport', 'C:\\temp\\test1_1.pdf'
Status = f$Excel('Close',0)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.