The following code is only works for one page and I do not know how to modify the code to make the header or footer disappear for more than one page. I have tried commas, ands, another line to no avail.
Cancel = [Page] = ? (the ? is the page number)
The code is put in the on format event in the header or footer section.
How can I make this code work for more than one page?