DisplayRecentFiles Property 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