Object Model Reference : Classes : R : RecentFile : Properties : RecentFile.Index |
Property Index As Long
Member of RecentFile
The Index property returns the index number of the current file entry in the Most Recently Used (MRU) list of CorelDRAW.
The Index property returns a read-only value.
The following VBA example displays the files in the MRU list.
Sub Test() |
Dim rf As RecentFile, s As String |
s = "Most Recently Used files:" |
For Each rf In RecentFiles |
s = s & vbCr & rf.Index & ". " & rf.Name |
Next rf |
MsgBox s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.