+ Reply to Thread
Results 1 to 3 of 3

vbYesNo Syntax

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Hangzhou, China
    MS-Off Ver
    Excel 2010
    Posts
    14

    vbYesNo Syntax

    Hello all! I have just started working with MsgBox[s] and am still having a little trouble getting the hang of the vbYesNo. I have a code that should exit the sub if the user says "No". Instead, both yes and no execute the sub.

    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: vbYesNo Syntax

    Hi.

    Try this:

    Please Login or Register  to view this content.
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    03-20-2013
    Location
    Hangzhou, China
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: vbYesNo Syntax

    Perfect. My sloppy syntax...doh! But thank you very much, I am learning.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1