What is the code for messagebox with YesNo?

Kennyqui 216 Reputation points
2021-12-18T03:17:16.35+00:00

I have form1 and form2.

In form1 I have 1 button.

So I want when:
I click the button it show a messagebox with the YesNo buttons. Then if I click Yes will proceed in the next form2 then if I click No it will stay in form1.

Please help me im beginner.

Developer technologies | Windows Forms
Developer technologies | VB
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-12-18T04:09:16.43+00:00

    You'll find them listed here.
    https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/msgbox-function#settings

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.