Occurs when a page is opened.
Syntax
Private Sub Application_OnPageOpen(pPage As PageWindow)
pPage Required PageWindow. A PageWindow object.
Remarks
The OnPageOpen event is associated with the Application object. When the user opens a page, Microsoft FrontPage opens the frameset for the page and fires the OnPageOpen event for the default frameset. Then FrontPage executes the code that you specified within the event procedure.
Note The OnPageOpen event only fires for the default frameset, even if there are more frames on the page.The OnPageOpen event only fires if the page is not open.