CLOSES THE FILE (SHEET) NUMBER N BY MICROSOFT EXCEL
ACTION
The command EXCEL_FILE_CLOSE N creates a new file with the Microsoft Excel software, if it is running.
N is the number of EXCEL file.
The number N is free and can be reused.
SYNTAX:
EXCEL_FILE_CLOSE N
USE ERROR EXAMPLE
rem launch Excel software
excel_start
rem wait for 5 secondes
wait 5000
rem open an existing file
excel_file_open 1,"MyFile.xls"
rem wait for 5 secondes
wait 5000
rem close this file
excel_file_close 1
rem stop Excel software
excel_stop
EXCEL_FILE_CLOSE
EXCEL_FILE_CLOSE N
SEE ALSO
EXCEL_START
EXCEL_STOP
EXCEL_FILE_NEW
EXCEL_FILE_OPEN
EXCEL_WRITE
EXCEL_READ$()