LOADWORKSHEET

Purpose:

Loads a specified Worksheet.

Syntax:

LOADWORKSHEET("wname")

"wsname"

-

A string. The name of the Worksheet to load.

Returns:

A 1 if the specified Worksheet is loaded successfully; 0 otherwise. Also returns 0 if the Worksheet does not exist.

Example:

loadworksheet("run1")

 

loads a previously saved Worksheet, the loaded Worksheet becomes the current Worksheet.

Example:

loadworksheet("\labbooks\book1\run1")

 

loads the run1 Worksheet that resides in the Labbook book1 located in the labbooks folder.

Remarks:

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.

See Also:

$DEINITWKS

$INITWKS

DELETEWORKSHEET

IMPORTWORKSHEET

OPENLABBOOK

SAVEWORKSHEET