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)
Usage
Public Class ewFileImplementation
Implements NewFile
End Class
Dim ewFileImplementation1 As New ewFileImplementation()
Syntax
Public Interface NewFile
Inherits _IMsoDispObj
public interface NewFile : _IMsoDispObj
public interface class NewFile : public _IMsoDispObj
public interface NewFile implements _IMsoDispObj
public interface NewFile implements _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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Core Namespace