0

Hi, I'm a student from Malaysia and I am trying to do a program where the program will run and then when it reaches a certain part, it will show a message and pauses the program until the user clicks done/continue/yes button at the message.

Flow:

Programme running-->Message-->"Please close all text files"-->user closes any text files----->user clicks continue/done/yes button at the message-->programme continues

Thank you so much.

I just started learning vb.

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by KhairilSyahrin
0

Use something like

If MsgBox("Are you sure you want to continue?", vbYesNo, "Confirm!") = vbYes Then
        'Code to continue task
    Else
        Cancel = True
End If
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.