DELETEWORKSHEET

Purpose:

Deletes one or more Worksheets from a Labbook.

Syntax:

DELETEWORKSHEET("wsname1", "wsname2", ..., "wsnameN", confirm)

"wsnameN"

-

One or more strings. The names of the Worksheets to delete.

confirm

-

Optional. An integer, the confirmation flag:

0:

do not confirm deletion

1:

confirm deletion (default)

Returns:

An integer, 1 if successful else <= 0.

Example:

deleteworksheet("Demo5")

 

deletes the Worksheet Demo5.

Example:

deleteworksheet("Demo5", "Demo6", 1)

 

Deletes both Demo5 and Demo6 Worksheets with confirmation.

Remarks:

The specified Worksheet names are case-sensitive.

See Also:

DELETEDATASET

DELETESERIES

LOADDATASET

LOADSERIES

LOADWORKSHEET

SAVEWORKSHEET