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
ActiveSelection.Move 26, 0#
End Sub