NewFile Interface
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

NewFile Interface

The NewFile object represents items listed on the New Item task pane available in several Microsoft Office applications.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

[GuidAttribute("000C0936-0000-0000-C000-000000000046")]
public interface NewFile : _IMsoDispObj

The following table shows the property to use to access the NewFile object in each of the applications.

Application

Property

Microsoft Access

NewFileTaskPane

Microsoft Excel

NewWorkbook

Microsoft FrontPage

NewPageOrWeb

Microsoft PowerPoint

NewPresentation

Microsoft Word

NewDocument

Use the Add method to add a new item to the New Item task pane. Use the Remove method to remove an item from the New Item task pane.

Show:
© 2016 Microsoft