Help getting a macro to run through all pages in the document

I have created this simple macro on X6 that will move everything in the page to the right side outside the page. I have no knowledge coding but I need to change it in order to run through all the pages selecting and moving everything in each page to the right side outside the page and stacking evrything vertically. Page size will always be 24 x 18 inches.

I will really appreciate it if I could get some help with this. I have to do this almost everyday for laser engraving files with many pages. It will be a real time saver if I could automate this task.

Thank you in advance and this is the macro created but working only in one page. 

Sub Macro1()
' Recorded 1/20/2023
ActivePage.Shapes.All.CreateSelection
ActiveSelection.Move 26, 0#
End Sub

Parents Reply
  • Do you know a site or a set of tutorials that I could use to learn some CorelScript, it will be very helpful for me from now on to learn some basic coding for coreldraw.

    John - who went by the handle Sub GDG_John( ) on the CorelDRAW Community forum - made a series of tutorial videos (in Flash, maybe?) that were available on the CorelDRAW Community site. At some point in time, some of them ceased to be available there; I don't know what the current situation is.

    I wish that I could point you to a comprehensive collection of them, because they really were something where someone could, if they wished, "start from scratch" and learn a lot about VBA in CorelDRAW.

    I think that John put at least some of those up on YouTube. Try searching for GDG Macros Tutorials.

    You might also look at some of the resources in the Developer Area of the Community site.

Children