+ Reply to Thread
Results 1 to 3 of 3

Check a range of cells for empties

  1. #1
    Registered User
    Join Date
    11-29-2008
    Location
    Littleton, CO
    Posts
    12

    Check a range of cells for empties

    Hi,

    Upon deactivation of a worksheet I am trying to check a range of cells("B8:M8") for empties. If any cells are empty I want to generate a MsgBox that asks the user to remedy the situation. It is not necessary to tell them which cell is empty but it would be nice. Can anyone help me format this code?

    Thanks in advance.
    Last edited by coachdave; 12-11-2008 at 05:35 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Try this in the sheet module (right-click sheet tab, View Code, paste):
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-29-2008
    Location
    Littleton, CO
    Posts
    12

    Smile You are the Man!!

    Thank you very much. It worked perfectly. Being only knowledgable enough to be dangerous I never would have figured this out.

    Thanks again

+ 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