RecentFiles.Add(String) Method

Definition

Adds a file to the list of recently used files. Returns a RecentFile object.

public:
 Microsoft::Office::Interop::Excel::RecentFile ^ Add(System::String ^ Name);
public Microsoft.Office.Interop.Excel.RecentFile Add (string Name);
Public Function Add (Name As String) As RecentFile

Parameters

Name
String

Required String. The file name.

Returns

Applies to