Share via


RecentFile.Open Method

Excel Developer Reference

Opens a recent workbook.

Syntax

expression.Open

expression   A variable that represents a RecentFile object.

Return Value
A Workbook object that represents the opened workbook.

Example

This example opens the second workbook in the recently used list.

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

See Also