Object Model Reference : Classes : A : Application : Properties : Application.RecentFiles |
Property RecentFiles As RecentFiles
Member of Application
The RecentFiles property returns the collection of all files in the recent-file list of CorelDRAW.
The RecentFiles property returns a read-only value.
The following VBA example displays a list of all recent files, with full file names, in a message box.
Sub RecentFilesList() |
Dim s As String |
Dim rf As RecentFile |
s = "Recent Files" & vbCrLf |
For Each rf In RecentFiles |
s = s & vbCrLf & rf.Name & " (" & rf.FullName & ")" |
Next rf |
MsgBox s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.