openDocument method



Opens the specified document.

Syntax

success = sheetObject.openDocument(URL)

Applies to

Sheet object.

Parameters

URL
string. The URL of the document you want to open. The valid file types are .html, .html-wk, .html-wkt, and .wk1. You can specify an absolute URL (beginning with a protocol name); otherwise the URL is relative to the document base.

Return value

boolean. The value is true if the document is successfully opened, and false otherwise.

See also
openDocumentFromStream method