Maximum Property

Microsoft Excel Visual Basic

Returns or sets the maximum number of files in the list of recently used files. Can be a value from 0 (zero) through 9. Read/write Long.

Example

This example sets the maximum number of files in the list of recently used files to 6.

Application.RecentFiles.Maximum = 6