Results 1 to 3 of 3

Check Range of Cells For Data

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    467

    Check Range of Cells For Data

    I am using the following code to check data is entered in certain cells...

    With Range("C6")
        If .Value = "" Then
                MsgBox "Not all Handicap Prices Are Entered."
            .Select
            Exit Sub
        End If
    End With
    I want to check a range of cells (C6:C8 in this instance) with the same msg box if no data entered in any one of three cells. I know I could repeat the code above but i guess there is a way of checking a range instead of repeating code?
    Last edited by adam2308; 04-12-2009 at 03:50 PM.

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