Previous Document Next Document

Object Model Reference : Classes : R : RecentFile : Properties : RecentFile.Name


RecentFile.Name

Property Name As String

Description

Member of RecentFile

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.