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. |
Result: | Integer | 0: command executed successfully | |
Example: | Status = f$Excel('Workbook','open','c:\\temp\\test2.xls') | ||