Changing pages two times

thks you very much this is exactly what I needed.
I just realized that after I posted this question: