返回 NewFile 对象。
expression.NewPageorWeb
expression 必选。返回 Application 对象的表达式。
下列示例创建对 StartWorking 对象的一个实例的引用。
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