Results 1 to 8 of 8

Find rows to delete with a macro based on cell content

Threaded View

  1. #1
    Registered User
    Join Date
    08-27-2013
    Location
    Denver, CO
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Find rows to delete with a macro based on cell content

    I've written a macro to create 2 worksheets containing data from a 3rd worksheet. My macro works fine, but it's "stupid". I manually selected rows on new worksheet for deletion. I can't figure out a way to have the macro delete the rows based on the contents of the cell in column A. How can I have the macro automatically determine which rows to delete? I've attached a copy of the spreadsheet with dummy data so you can see what I'm trying to do. I can't use a formula to do this because it won't pick up the background color formatting. Also, each entry on the first sheet could have anywhere from 1-3 rows depending on the type of change being documented. The only constants are the contents of the cells in column A.

    Thanks.
    Attached Files Attached Files
    Last edited by mkraffert; 08-28-2013 at 02:33 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro to delete rows if any cell contains specific content
    By adayoan in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-31-2012, 07:11 PM
  2. delete certain rows based on their partial cell content
    By WasWodge in forum Excel General
    Replies: 3
    Last Post: 01-30-2011, 02:37 PM
  3. Delete rows based on cell content
    By scaffdog845 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-06-2010, 07:34 PM
  4. Need help to delete rows based on cell content
    By iturnrocks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2008, 12:10 PM
  5. [SOLVED] Hide/Delete entire rows based in the content of one cell
    By Clueless in forum Excel General
    Replies: 2
    Last Post: 10-03-2005, 10:05 AM

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