Results 1 to 8 of 8

Thread: Shade all Blank rows in Range

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Site Admin VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,008
    Location
    Something like this:
     
    Sub Macro1()
        Columns("A:A").Select
        Selection.AutoFilter
        Selection.AutoFilter Field:=1, Criteria1:="="
        Rows("1:19").Select
        With Selection.Interior
            .ColorIndex = 15
        End With
        Selection.AutoFilter
        End Sub
    regards,
    Simon
    Last edited by Aussiebear; 02-05-2025 at 12:24 PM.
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •