Collapse the table of content
Expand the table of content
Expand Minimize

Application.NewWorkbook Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a NewFile object.

expression .NewWorkbook

expression An expression that returns a Application object.

Return Value


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
© 2016 Microsoft