Application.NewFileTaskPane (Access)

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


Dim nftpTemp As Office.NewFile 
 
Set nftpTemp = Application.NewFileTaskPane 
 
nftpTemp.Add FileName:="C:\Sales_Quarterly.mdb", _ 
 Section:=msoNewfromExistingFile, DisplayName:="Quarterly Sales", _ 
 Action:=msoCreateNewFile