Where would I put that code?
The pages do not exist until I run the Wizard. It is only after it runs to completion that I discover a blank page. At that point I simply delete them and run it again.
I cannot take the time to troubleshoot this for you. I just wanted to point out that it happens.