API Documentation > CorelDRAW > 2025-v26 > RecentFile > IVGRecentFile
RecentFile.Index property
Gets the recent file's position in the Recent File list
Syntax:
Property Get Index() As Long
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