EXCELCOM_SAVEAS

 

Syntax

Example

Description/Remarks

EXCELCOM_SAVEAS "excel_filename", "new_extension"

 

EXCELCOM_SAVEAS "c:\temp\myfile.xls", "htm"

 

This template formula opens the file "c:\temp\myfile.xls" and saves it in HTML format as "c:\temp\myfile.htm"

 

 

See also: Creating a file in Microsoft Excel format.

This command saves an Excel file to a new format.

Currently, the only format option is HTML.

Note: Microsoft Excel must be installed on any workstation that will open and run a template containing the EXCELCOM_SAVEAS, EXCELCOM_OPEN, EXCELCOM_WRITE or EXCELCOM_CLOSE commands.

excel_filename

Specify the full path and name of the Excel file to be saved to a new format.

new_extension

Specify the extension for the new format. Currently, the only extension options are HTM and HTML. 

Note: The file should not be open when performing this operation.