編輯

共用方式為


RecentFile Interface

Definition

Represents a file in the list of recently used files.

public interface class RecentFile
[System.Runtime.InteropServices.Guid("00024407-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface RecentFile
Public Interface RecentFile
Attributes

Remarks

The RecentFile object is a member of the RecentFiles collection.

Use RecentFiles(index), where index is the file number, to return a RecentFile object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Index

Returns the index number of the object within the collection of similar objects.

Name

Returns the name of the object.

Parent

Returns the parent object for the specified object.

Path

Returns the complete path to the application, excluding the final separator and name of the application.

Methods

Delete()

Deletes the object.

Open()

Opens a recent workbook.

Applies to