CREATES A NEW FILE (SHEET) AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command EXCEL_FILE_NEW N creates a new file with the Microsoft Excel software, if it is running.
N is the number of EXCEL file on which the commands are targeted : it is the target file.
A file is a sheet in the vocabulary of Excel. It is possible to create several sheets simultaneously, they are identified by their number.
SYNTAX:
EXCEL_FILE_NEW N
USE ERROR EXAMPLE
rem launch Excel software
excel_start
rem wait for 5 secondes
wait 5000
rem create a new file
excel_file_new 1
EXCEL_FILE_NEW
EXCEL_FILE_NEW N
SEE ALSO
EXCEL_START
EXCEL_STOP
EXCEL_FILE_CLOSE
EXCEL_FILE_OPEN
EXCEL_WRITE
EXCEL_READ$()