I have often Coreldraw files with many pages inside and usually most recent page is last page
So when I open these documents I'd like to open to last page (e.g. page 16)
Is it possible ?
this can be done using macro
Thank you for your reply
Can you show me how can I do it please ?
create or open any existing GMS-file and type code:
Private Sub GlobalMacroStorage_DocumentOpen(ByVal Doc As Document, ByVal FileName As String)
ActiveDocument.Pages.Last.Activate
End Sub
It will force CorelDraw to open ANY document on the last page.
And Options-VBA-""Delay Load VBA" must be set On
To create empty GMS-file you have to locate GMS-folder inside CorelDraw X3 folders and create any empty txt-file, say mymacro.txt. Then just rename it to mymacro.gms. After this run CorelDraw, press Alt-F11, find your mymacro.gms, double click and type code above
Sorry but something went wrong
Created MyMacro.gms file to C:\Program Files\Corel\CorelDRAW Graphics Suite 13\Draw\GMS folder and typed the code but opening an existing file opens at first page
Is your last page the rightmost one in the list of pages?
yes.
In fact this is a 48pages file and page48 is the rightmost page
Changed VBA security to Low but nothing
and this the code