writeFile Method

Microsoft FrontPage Visual Basic

writeFile Method

Saves the page to the specified path and file name.

expression.writeFile(path)

expression    Required. An expression that returns one of the objects in the Applies To list.

path    Required String. Specifies the path and file name of where to save the page.

Example

The following example saves the active document to the specified path and file name.

    ActiveDocument.writeFile "c:\newpage.htm"