DADiSP Worksheet Functions > Function Categories > Datasets, Worksheets and Labbooks > LOADWORKSHEET
Loads a specified Worksheet.
LOADWORKSHEET("wname")
"wsname" |
- |
A string. The name of the Worksheet to load. |
A 1 if the specified Worksheet is loaded successfully; 0 otherwise. Also returns 0 if the Worksheet does not exist.
loadworksheet("run1")
loads a previously saved Worksheet, the loaded Worksheet becomes the current Worksheet.
loadworksheet("\labbooks\book1\run1")
loads the run1 Worksheet that resides in the Labbook book1 located in the labbooks folder.
The specified Worksheet name is case sensitive.
A Worksheet name may contain a folder and Labbook component. In the case the Worksheet resides in another Labbook, the Labbook is automatically opened and the Datasets and Series associated with the parent Labbook are available to the loaded Worksheet
See IMPORTWORKSHEET to load a stand alone DWK document.
See $INITWKS and $DEINITWKS for macros that automatically execute when a Worksheet is loaded and unloaded.