Returns a NewFile object.
expression.NewPageorWeb
expression Required. An expression that returns an Application object.
The following example creates a reference to an instance of the StartWorking object.
Sub NewPage()
'Creates a new page using the StartWorking object
Dim objApp As FrontPage.Application
Dim objStrtWrk As StartWorking
Set objApp = FrontPage.Application
'Create a reference to an instance of the StartWorking object
Set objStrtWrk = objApp.NewPageorWeb
End Sub