Object Model Reference : Classes : R : RecentFile : Properties : RecentFile.Name |
Property Name As String
Member of RecentFile
The Name property returns or specifies the filename of an item in the Most Recently Used (MRU) list of CorelDRAW.
The following VBA example displays the list of most recently used files and their paths.
Sub Test() |
Dim rf As RecentFile, s As String |
s = "Most Recently Used files:" |
For Each rf In RecentFiles |
s = s & vbCr & rf.Name & vbTab & rf.Path |
Next rf |
MsgBox s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.