Export (0) Print
Expand All

NewFileTaskPane Property [Access 2003 VBA Language Reference]

Office 2003

Returns a NewFile object that represents a document listed on the New File task pane.

expression.NewFile

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example creates a file list item on the New File task pane in the New from existing file section.

Dim nftpTemp As Office.NewFile

Set nftpTemp = Application.NewFileTaskPane

nftpTemp.Add FileName:="C:\Sales_Quarterly.mdb", _
    Section:=msoNewfromExistingFile, DisplayName:="Quarterly Sales", _
    Action:=msoCreateNewFile
		


Applies to | Application Object


Show:
© 2014 Microsoft