Remarks:
The Open method opens a document from the Most Recently Used (MRU) list. The following code opens the second document in the MRU list of CorelDRAW and displays the number of pages it contains. [code] Sub Test() Dim doc As Document Set doc = RecentFiles(2).Open MsgBox "Number of pages = " & doc.Pages.Count End Sub [/code]