Object Model Reference : Classes : R : RecentFile : Properties : RecentFile.Path |
Property Path As String
Member of RecentFile
The Path property returns or specifies the path 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.