Previous Document Next Document
RecentFile.Name

Property Name As String

Member of RecentFile

The Name property returns or sets the filename of an item in the Most Recently Used (MRU) list of CorelDRAW.

The following code example displays the list of all of the 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.