OPENS THE EXISTING FILE (SHEET) F AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command EXCEL_FILE_OPEN N,F opens an existing 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.
F is its name.
A file is a sheet in the vocabulary of Excel. It is possible to open several sheets simultaneously: they are identified by their number.
SYNTAX:
EXCEL_FILE_OPEN N,F
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_OPEN
EXCEL_FILE_OPEN N,F
SEE ALSO
EXCEL_START
EXCEL_STOP
EXCEL_FILE_NEW
EXCEL_FILE_CLOSE
EXCEL_WRITE
EXCEL_READ$()