Share via


RecentFile Object

Excel Developer Reference

Represents a file in the list of recently used files.

Remarks

The RecentFile object is a member of the RecentFiles collection.

Example

Use RecentFiles(

index

), where

index

is the file number, to return a RecentFile object. The following example opens file two in the list of recently used files.

Visual Basic for Applications
  Application.RecentFiles(2).Open

See Also