Multipage Error Handling

  • Thread starter Thread starter John Petty
  • Start date Start date
J

John Petty

I am trying to code some error handling for a Mulitpage
form, that checks to see if a certain form is active
before writing data. I would like to use the page names
instead of the page values (easier for another programmer
to work with).

I would like to code something like this

If Multipage1.name <> "PageRelease" or MultiPage1.Name _
<> "PageChange" then
MsgBox("You must have an EO Form Active to use this _
Wizard" & vbCrLf & "Please open an EO Form and _
try again")
Exit Sub
Else
My code here

Any suggestions?

Thanks for your help

John Petty
 
Back
Top