Results 1 to 4 of 4

Check for Blanks within a selection range

Threaded View

Eamonn Check for Blanks within a... 04-27-2011, 09:46 AM
tlafferty Re: Check for Blanks within a... 04-27-2011, 09:55 AM
Andy Pope Re: Check for Blanks within a... 04-27-2011, 10:01 AM
Eamonn Re: Check for Blanks within a... 04-27-2011, 02:29 PM
  1. #1
    Registered User
    Join Date
    04-27-2011
    Location
    America
    MS-Off Ver
    Excel 2007
    Posts
    21

    Check for Blanks within a selection range

    I am trying to create a macro that will check within the currect selection for any cells that are blank. If they are blank I would like it to have an error message and maybe change the cell a yellow color. Right now I have a macro that will run before each save to select the cells that I need checked for blanks cells but I can get the other macro to work correctly.


    The code that selects the cells I need checked.

    Dim rng As Long, Rng1 As Range
    rng = Sheets("Alpha").Range("A" & Rows.Count).End(xlUp).Row   With Sheets("alpha")
           .Range("E3:E" & rng).Activate
     End With
     End Sub
    Last edited by Eamonn; 04-27-2011 at 02:30 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