Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Returns a NewFile object that represents a document listed on the New File task pane. Read-only NewFile object.
Syntax
expression.NewFileTaskPane
expression A variable that represents an Application object.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.