title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.NewWorkbook property (Excel) |
vbaxl10.chm133283 |
|
|
3a50a338-53be-3ac9-d398-c58084e19e6d |
04/05/2019 |
medium |
Returns a NewFile object.
expression.NewWorkbook
expression An expression that returns an Application object.
NewFile
In this example, Microsoft Excel sets the variable wkbOne to a NewFile object.
Sub SetStartWorking()
Dim wkbOne As NewFile
' Create a reference to an instance of the NewFile object.
Set wkbOne = Application.NewWorkbook
End Sub
[!includeSupport and feedback]