Here is the example of the code i need help with
I want it to show the first msg then then the button is clicked it shows the second and third and so on but only when the button is clicked and help?
VBA Code:
Sub test()
' NightAuditP.ShowMsg "hello", Title:="Testing Mode"
If s = 0 Then
NightAuditP.ShowMsg "Are you ready to start the night audit file process?" & vbNewLine _
& "This is for the date of: " & Format(Date - 1, "mm-dd-yyyy"), NightAuditP.Previous.Visible = False, Button2Text:="Yes"
If s = 1 Then
NightAuditP.ShowMsg "Have you saved the" & vbNewLine & "Adjustment Log" & vbNewLine & " & " & vbNewLine & "Daily Cash Log?", Button1Text:="Back", Button2Text:="Next"
End If
End If
End Sub