API Documentation > CorelDRAW > 2025-v26 > RecentFile > IVGRecentFile
RecentFile.Delete method
Removes the file from the Recent File list
Syntax:
Sub Delete()
Remarks:
The Delete method removes a specified document from the Most Recently Used (MRU) list. Removing a document with the Delete method does not delete the actual document - it only removes its name from the MRU list in CorelDRAW.
Examples:
The following VBA example clears the MRU list.
Sub Test()
Dim rf As RecentFile
While RecentFiles.Count <> 0
  RecentFiles(1).Delete
Wend 
End Sub