+ Reply to Thread
Results 1 to 2 of 2

How to highlight a row and its adjacent row for every blank cell in a column - Code Correc

  1. #1
    Registered User
    Join Date
    02-03-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    8

    How to highlight a row and its adjacent row for every blank cell in a column - Code Correc

    How to highlight a row and its previous row for every blank cell in a column

    I could only highlight the row containing the blank cell, but not the row above this. Help with my code.

    Sub ConditionalFormatter()
    [F3].Activate
    With Range([F3], [F65536].End(xlUp)).EntireRow
    .FormatConditions.Delete
    .FormatConditions.Add Type:=xlExpression, Formula1:= _
    "=$F3="""""
    .FormatConditions(1).Interior.ColorIndex = 6
    End With
    End Sub
    Last edited by gotovamsee; 07-12-2012 at 12:43 PM.

  2. #2
    Registered User
    Join Date
    02-03-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to highlight a row and its adjacent row for every blank cell in a column - Code Co

    Any possible code fixes please..

+ 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