Object Model Reference : Classes : R : RecentFile : Methods : 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 VBA example clears the MRU list.
Sub Test() |
Dim rf As RecentFile |
While RecentFiles.Count <> 0 |
RecentFiles(1).Delete |
Wend |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.