Skip to main content
Skip table of contents

f$Excel save workbook


f$Excel save workbook

Save the current workbook. If desired, another name can be entered as well. The name of the workbook is to be entered inclusive of path. If the workbook already exists, Excel asks if you want to overwrite the existing workbook.

Note that the character "\" must be entered twice ("\\") when entering the path in the file name.

Syntax:

Status = f$Excel('Workbook', 'save' [, Name] )

 

Argument

Type

Meaning

 

'Workbook'

String

Keyword

 

'save'

String

Keyword

 

Name

String

Name of the Excel workbook. This argument is optional.

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('Workbook', 'save' )
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.