How to merge pages in 1 page as macro

I have created 18 pages for id card & i want to merge or collect all them and set in 1 page 10 id cards and rest 8 in 2nd page. Any way to make a macro so that i can merge or collect them as per my needs. Any suggestion or help. Thanks