Previous Document Next Document
RecentFile.Delete

Sub Delete()

Member of RecentFile

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.

The following code example clears the MRU list:

Sub Test() 
 Dim rf As RecentFile 
 While RecentFiles.Count <> 0 
  RecentFiles(1).Delete 
 Wend 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.