The OPEN command is used to open a specific Excel document for reading or writing.
Command | Keyword | Value | Developer notes |
OPEN | FILE | value | Required. File path. |
READONLY | *YES | Open document in read only mode. | |
*NO | Default. Entire document is read into memory. |
OPEN FILE(/folder/file.xls)
OPEN FILE(/folder/file.xlsx)
OPEN FILE(/folder/file.xlsx) READONLY(*YES)