+ Reply to Thread
Results 1 to 4 of 4

select-delete highlighted cells after conditional formatting

  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.

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

    Re: select-delete highlighted cells after conditional formatting

    what i need is to integrate this
    =IF(AND(A2="";B2="";D3=""); 1)
    in a macro that will result to the deletion or selection of the cells meeting the criteria in a specified column range

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

    Re: select-delete highlighted cells after conditional formatting

    cant anyone help out in this one? the macro needs to apply a delete function on highlighted or be integrated with the conditions above

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

    Re: select-delete highlighted cells after conditional formatting

    what if I transfer the file to a pc with an Excel 2010 and select by highlighted colour?Is that possible, will it keep the formatting I have made in excel 2003

+ Reply to Thread

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