Previous Document Next Document

Object Model Reference : Classes : A : Application : Properties : Application.RecentFiles


Application.RecentFiles

Property RecentFiles As RecentFiles

Description

Member of Application

The RecentFiles property returns the collection of all files in the recent-file list of CorelDRAW.

The RecentFiles property returns a read-only value.

VBA example

The following VBA example displays a list of all recent files, with full file names, in a message box.

Sub RecentFilesList()
 Dim s As String
 Dim rf As RecentFile
 s = "Recent Files" & vbCrLf
 For Each rf In RecentFiles
  s = s & vbCrLf & rf.Name & " (" & rf.FullName & ")"
 Next rf
 MsgBox s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.