Opens a Labbook.
OPENLABBOOK("labname", "wrkname", confirm, create)
- |
A string. The name of the Labbook to open. |
|||||
"wrkname" |
- |
Optional. A string, the name of the Worksheet to load. Defaults to a new Worksheet. |
||||
confirm |
- |
Optional. An integer, the confirmation flag.
|
||||
create |
- |
Optional. An integer, the create new Labbook flag.
|
An integer, 1 if successful else <= 0.
openlabbook("MyBook")
opens the Labbook MyBook with confirmation and loads a new Worksheet.
openlabbook("NewBooks\MyBook","Work1", 0)
opens the Labbook MyBook in the directory NewBooks and loads the Worksheet Work1 without confirmation.
openlabbook("NewBooks\MyBook2", 0, 1)
Creates the Labbook MyBook2 in the directory NewBooks if it does not exist. The Labbook is opened with a new Worksheet without confirmation.
The Labbook name can contain a path.