Application.DisplayRecentFiles Property

Word Developer Reference

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.

Visual Basic for Applications
  Application.DisplayRecentFiles = True
RecentFiles.Maximum = 6

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

Visual Basic for Applications
  Application.DisplayRecentFiles = False

See Also