Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 880 Bytes

Excel.Application.NewWorkbook(property).md

File metadata and controls

50 lines (28 loc) · 880 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.NewWorkbook property (Excel)
vbaxl10.chm133283
vbaxl10.chm133283
Excel.Application.NewWorkbook
3a50a338-53be-3ac9-d398-c58084e19e6d
04/05/2019
medium

Application.NewWorkbook property (Excel)

Returns a NewFile object.

Syntax

expression.NewWorkbook

expression An expression that returns an Application object.

Return value

NewFile

Example

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]