Visual Basic Programming Code Examples
Visual Basic > Applications VBA Code Examples
How to use the output of this control
How to use the output of this control
>MsgBox "Proceed With this Function?", 36, "Custom-System"
>
Dim answer
answer = MsgBox "Proceed With this Function?", 36, "Custom-System"
If answer<> IDYES then exit Sub
BTW you get the value on the label by:
Label1.caption = Cstr(answer)
Return