Sarah,
The "page" object does not have a visibility property. You only have the ability to change the visibility of the following objects via code:
StatusBar
Console
Control
Layer
ToolBar
The syntax for the above objects is:
object.Visible = False
So, to turn off the visibility for a particular control you would use:
ThisEvent.Object.Pages("page1").Controls("txtControl").Visible = False
If you simply have a page or two that you don't ever want to show you can delete the page via the Page menu of the edit form.
I'm not 100% sure of the exact output you're looking for, so any additional insight would be helpful.