Gets the recent file's position in the Recent File list
Syntax:
PropertyGetIndex()AsLong
Remarks:
The Index property returns the index number of the current file entry in the Most Recently Used (MRU) list of CorelDRAW.
Examples:
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