Results 1 to 4 of 4

select-delete highlighted cells after conditional formatting

Threaded View

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Crete
    MS-Off Ver
    Excel 2003
    Posts
    13

    select-delete highlighted cells after conditional formatting

    after highlighting the cells based on criteria explained here: http://www.excelforum.com/excel-gene...lc-filled.html

    i need to delete or select the highlighted cells
    how can I accomplish that?

    I tried using a macro without success...any feedback?

    Sub DELETEDHIGHLIGHTED()
    '
    ' DELETEDHIGHLIGHTED Macro
    '
    '
    For Each Cell In Range("K1:K5172")
    If Cell.Interior.ColorIndex = 1 Then 'highlight colour is black
    Cell.Offset(, -1) = "X"
    End If
    Next Cell
    End Sub
    Last edited by aiolosply; 07-17-2012 at 12:53 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