EXCELCOM_OPEN

Syntax

Example

Description/Remarks

EXCELCOM_OPEN "filename"

EXCELCOM_OPEN "F:\ Service\HourlyReport.xls"

 

 

See also: Creating a file in Microsoft Excel format.

This command opens an existing file already formatted as a Microsoft Excel file.  You can then modify the file contents with EXCELCOM_WRITE and close the file with EXCELCOM_CLOSE.

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

If the specified file has just been created by EXCEL_CREATE but has not yet been closed by EXCEL_CLOSE, this command automatically closes the file and then opens it for modification.