![]() |
![]() |
RecentFile.Open
Function Open() As Object
Member of RecentFile
The Open method opens a document from the Most Recently Used (MRU) list.
The following code opens the second document listed in the MRU list of CorelDRAW and displays the number of pages it contains:
Sub Test() Dim doc As Document Set doc = RecentFiles(2).Open MsgBox "Number of pages = " & doc.Pages.Count End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.