Previous Document Next Document

Object Model Reference : Classes : R : RecentFiles : Methods : RecentFiles.Add


RecentFiles.Add

Function Add(Name As String, Path As String) As RecentFile

Description

Member of RecentFiles

The Add method places a specified document in the Most Recently Used (MRU) list of CorelDRAW.

Parameter
Description
Name
Specifies the name of the file
Path
Specifies the path to the file

VBA example

The following VBA example adds the file C:\Temp\Graphics\MyFile.cdr to the list of most recently used files.

Sub Test()
 RecentFiles.Add "MyFile.cdr", "C:\Temp\Graphics\"
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.