+ Reply to Thread
Results 1 to 3 of 3

problem msgbox

  1. #1
    Forum Contributor
    Join Date
    10-07-2015
    Location
    cyprus
    MS-Off Ver
    Microsoft 365
    Posts
    183

    problem msgbox

    In excel, I have a userform with a lot of combo/text boxes, and a button "save".

    I would like that when the user press "ad" or "save":
    if "net o/t" box <>"" and "Nor_date"="" then a message box (with just OK button) saying "nor date is empty" appear, once OK press then focus goes to NOR_DATE box to allow user to fill it in

    Here below my code under "save button", however this code make appears the msgbox but does not allow the user to fill in the empty box, it simply continues the code to SAVE_DATA....Can someone help?

    Please Login or Register  to view this content.
    Last edited by mariec_06; 01-04-2017 at 06:47 AM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,936

    Re: problem msgbox

    Does this work?

    Please Login or Register  to view this content.
    BSB

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: problem msgbox

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. MsgBox problem
    By DavidBre in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2014, 06:52 AM
  2. [SOLVED] Problem with VBA Editor uses lower case on some lines (ex. msgbox instead of MsgBox)
    By stubbsj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2013, 06:59 PM
  3. Problem in msgbox
    By girishkini in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2013, 02:27 AM
  4. msgBox problem
    By bernie1961 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2008, 08:53 AM
  5. [SOLVED] Problem with coding a msgbox
    By Jacqui in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2005, 06:20 PM
  6. Problem with coding a msgbox
    By Jacqui in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2005, 06:17 PM
  7. MsgBox problem
    By plockey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2005, 02:31 PM

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