RecentFile.Open method (Excel)

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.

Application.RecentFiles(2).Open

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.