Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
Adelinadia pe Simpatie
Femeie
25 ani
Mures
cauta Barbat
27 - 71 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] If MsgBox No Button Pressed Exit Sub

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
Simply store the MsgBox value in a string, as below:


    Dim result As String
    result = MsgBox("Are you sure you want to do this?", vbYesNo)
    If result = vbNo Then
        Exit Sub
    End If


Similar to:
http://mrrrr.3xforum.ro/post/2488/1/EXC ... _Exit_Sub/


 
   
Pagini: 1  
Mergi la