+ Reply to Thread
Results 1 to 3 of 3

Check for empty cells on exit

Hybrid View

  1. #1
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Check for empty cells on exit

    Change this line:

    If iReply = vbCancel Then Exit Sub
    To:

    If iReply = vbCancel Then Cancel = True
    That should do it.

  2. #2
    Registered User
    Join Date
    02-14-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Check for empty cells on exit

    Thank you so much Andrew, that works perfectly. What a relief!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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