Adds a file to the Recent Files list
Syntax:
Function Add(ByVal Name As String, ByVal Path As String) As RecentFile
Parameters:
Name Type Description
Name
String
Path
String
Remarks:
The Add method places a specified document in the Most Recently Used (MRU) list of CorelDRAW.
Examples:
The following VBA example adds the file C:\Temp\Graphics\MyFile.cdr to the list of most recently used files in CorelDRAW.
Sub Test()
RecentFiles.Add "MyFile.cdr", "C:\Temp\Graphics\" 
End Sub
The following VBA example adds the file C:\Temp\Graphics\MyFile.des to the list of most recently used files in Corel DESIGNER.
Sub Test()
RecentFiles.Add "MyFile.des", "C:\Temp\Graphics\" 
End Sub