Object Model Reference : Classes : R : RecentFiles : Methods : RecentFiles.Add |
Function Add(Name As String, Path As String) As RecentFile
Member of RecentFiles
The Add method places a specified document in the Most Recently Used (MRU) list of CorelDRAW.
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 |
Copyright 2013 Corel Corporation. All rights reserved.