DisplayRecentFiles Property

Microsoft Word Visual Basic

DisplayRecentFiles Property

       

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

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