+ Reply to Thread
Results 1 to 3 of 3

Need a macro to delete row based on conditionally formatted cell

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Need a macro to delete row based on conditionally formatted cell

    Hi,

    I would like to seek for your help. I came across a code that deletes a row if it is not highlighted.
    Please Login or Register  to view this content.
    This works if the cells are manually highlighted, but I need it to work for a conditionally highlighted cell.

    I know it was already talked about here: http://www.excelforum.com/excel-prog...ghlighted.html but I couldn't make it work.

    Thank you in advance!

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Need a macro to delete row based on conditionally formatted cell

    Rather than use the colour of the cell to determine whether to delete - use the criteria that sets the colour i.e. the criteria for the conditional format
    Elegant Simplicity............. Not Always

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need a macro to delete row based on conditionally formatted cell

    Quote Originally Posted by AndyLitch View Post
    Rather than use the colour of the cell to determine whether to delete - use the criteria that sets the colour i.e. the criteria for the conditional format
    Hi Andy, thanks for your reply. I appreciate it. While that's possible, the criteria for my conditionally formatted cell is more complicated since it uses a formula.

+ 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