편집

다음을 통해 공유


Application.DisplayRecentFiles property (Word)

True if the names of recently used files are displayed on the File menu. Read/write Boolean.

Syntax

expression. DisplayRecentFiles

expression A variable that represents an Application object.

Example

This example sets Word to display a maximum of six file names on the File menu.

Application.DisplayRecentFiles = True 
RecentFiles.Maximum = 6

This example removes the list of recently used files from the File menu.

Application.DisplayRecentFiles = False

See also

Application Object

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.