DADiSP Worksheet Functions > Function Categories > Datasets, Worksheets and Labbooks > EXPORTWORKSHEET

 

EXPORTWORKSHEET

Purpose:

Saves the current Worksheet to an external Worksheet File (DWK).

Syntax:

EXPORTWORKSHEET("wname")

"wsname"

-

A string. The target name for the Worksheet.

Returns:

A 1 if saved correctly, otherwise 0.

Example:

exportworksheet("\My Worksheets\Run1.dwk")

 

saves the current Worksheet under the name Run1.dwk in the \My Worksheet folder.

Remarks:

This Worksheet can be retrieved using the IMPORTWORKSHEET command.

 

The wname argument is case-sensitive.

 

If no extension is provided, the .dwk extension is automatically appended.

 

A DWK Worksheet is a single "stand-alone" file that contains all the data in the Worksheet. DWK Worksheets can be emailed, posted to web sites or otherwise shared.

 

See SAVEWORKSHEET to save a Worksheet to a Labbook.

See Also:

IMPORTWORKSHEET

NEWWORKSHEET

SAVESERIES

SAVEWORKSHEET