Skip to main content
Skip table of contents

f$Excel quit


f$Excel quit

Quit the current Excel application. If desired, you can specify if the current workbook should be saved or not. If this argument is left out, Excel will ask if necessary.

Syntax:

Status = f$Excel('Quit', [SaveYesNO] )

 

Argument

Type

Meaning

 

'Quit'

String

Keyword

 

SaveYesNo

Integer

This argument is optional.
Value 0 means do not save, value 1 means save

Result:

Integer

0: command executed successfully

Example:

Status = f$Excel('Workbook','open','c:\\temp\\test2.xls')
Status = f$Excel('Sheet', 'open', 'Table2')
Status = f$Excel('Cell', 'set',2,1, '1')
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.