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)
Syntax
'Declaration
<GuidAttribute("000C0936-0000-0000-C000-000000000046")> _
Public Interface NewFile _
Inherits _IMsoDispObj
'Usage
Dim instance As NewFile
[GuidAttribute("000C0936-0000-0000-C000-000000000046")]
public interface NewFile : _IMsoDispObj
Remarks
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.