+ Reply to Thread
Results 1 to 3 of 3

Looping Messagebox

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    Looping Messagebox

    Hi All,

    I'm hoping you can help, I currently have the below code which works well:

    Please Login or Register  to view this content.
    However, I've been trying to add a Else messagebox because if the textbox 1 and textbox2 do not match I'd like the user to know so they understand the value they input was incorrect but if I do it keeps looping. How can I fix this?

    Thanks.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Looping Messagebox

    maybe something like this
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-07-2015
    Location
    Vancouver, BC, Canada
    MS-Off Ver
    Office 365
    Posts
    22

    Re: Looping Messagebox

    Add red lines to your codes


    Please Login or Register  to view this content.
    If you have any comment, you could find me on my Excel blog
    Last edited by bsuperiorsystem; 10-27-2015 at 12:34 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] MessageBox & Userform
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2015, 04:44 PM
  2. [SOLVED] VBA messagebox
    By TheMagician in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-17-2015, 01:58 PM
  3. Pop-up a messagebox every 10:00 PM of the day
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2014, 12:46 PM
  4. [SOLVED] messagebox
    By Oeysbrei in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 05-01-2012, 05:14 PM
  5. messagebox help
    By SMILE in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2011, 08:05 AM
  6. MessageBox Warning
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-10-2011, 08:11 AM
  7. Messagebox
    By Anthraxitus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2005, 05:42 AM

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