RecentFiles.Maximum Property (Word)
Returns or sets the maximum number of recently used files that can appear on the File menu. Can be a number from 0 (zero) through 9. Read/write Long.
Syntax
expression .Maximum
expression Required. A variable that represents a RecentFiles collection.
Example
This example disables the list of most recently used files.
RecentFiles.Maximum = 0
This example increases the number of items on the list of most recently used files by 1.
num = RecentFiles.Maximum
If num <> 9 Then RecentFiles.Maximum = num + 1