Article ID: 125805
Article Last Modified on 10/11/2006
111867 XL5 Err Msg: "Not Enough Stack Space to Run Macro"
Sub Dialog1Show()
DialogSheets("Dialog1").Show 'Shows Dialog1.
End Sub
Sub Dialog1Hide()
DialogSheets("Dialog1").Hide 'Hides Dialog1.
Application.OnTime Now, "Dialog2Show" 'Runs Sub Dialog2Show.
End Sub
Sub Dialog2Show()
DialogSheets("Dialog2").Show 'Shows Dialog2.
End Sub
Sub Dialog2Hide()
DialogSheets("Dialog2").Hide 'Hides Dialog2.
Application.OnTime Now, "Dialog3Show" 'Runs Sub Dialog3Show.
End Sub
Sub Dialog2HideBack()
DialogSheets("Dialog2").Hide 'Hides Dialog2.
Application.OnTime Now, "Dialog1Show" 'Runs Sub Dialog1Show.
End Sub
Sub Dialog3Show()
DialogSheets("Dialog3").Show 'Shows Dialog3.
End Sub
Sub Dialog3Hide()
DialogSheets("Dialog3").Hide 'Hides Dialog3.
Application.OnTime Now, "Dialog4Show" 'Runs Sub Dialog4Show.
End Sub
Sub Dialog3HideBack()
DialogSheets("Dialog3").Hide 'Hides Dialog3
Application.OnTime Now, "Dialog2Show" 'Runs Sub Dialog2Show.
End Sub
Sub Dialog4Show()
DialogSheets("Dialog4").Show 'Shows Dialog4.
End Sub
Sub Dialog4Hide()
DialogSheets("Dialog4").Hide 'Hides Dialog4.
End Sub
Sub Dialog4HideBack()
DialogSheets("Dialog4").Hide 'Hides Dialog4.
Application.OnTime Now, "Dialog3Show" 'Runs Sub Dialog3Show.
End Sub
Dialog1 OK Button Dialog1Hide
Dialog2 OK Button Dialog2Hide
Go Back Button Dialog2HideBack
Dialog3 OK Button Dialog3Hide
Go Back Button Dialog3HideBack
Dialog4 OK Button Dialog4Hide
Go Back Button Dialog4HideBack
When you run the first dialog box, the OK button should dismiss the
current dialog box and show the next dialog box. The Go Back button
should dismiss the current dialog box and show the previous dialog
box.
Dialog1 OK Button Dialog1Hide
Dialog2 OK Button Dialog2Hide
Cancel Button Dialog2HideBack
Dialog3 OK Button Dialog3Hide
Cancel Button Dialog3HideBack
Dialog4 OK Button Dialog4Hide
Cancel Button Dialog4HideBack
When you run the first Dialog box, the OK button should dismiss the
current dialog box and show the next dialog box. The Cancel button
should dismiss the current dialog and show the previous dialog box.Additional query words: 5.00c XL
Keywords: kbprogramming KB125805