+ Reply to Thread
Results 1 to 3 of 3

How to delete an entire Row that contains certain information

  1. #1
    Registered User
    Join Date
    05-28-2015
    Location
    Lakeland, FL
    MS-Off Ver
    Excel 13
    Posts
    66

    How to delete an entire Row that contains certain information

    I am trying to delete an entire Row from a specific sheet by just clicking a button that will run a macro. So on sheet 'Example' in cells A4 and B4, will have the sheet name and Account # respectfully. The macro would go to the sheet named in A4 and look in column B for a row that has has the same as B4 and delete the row. The Macro I wrote does not work properly.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Nuccio92; 01-08-2016 at 07:51 PM.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: How to delete an entire Row that contains certain information

    If you want a single delete

    Please Login or Register  to view this content.
    If you want all values deleted
    Please Login or Register  to view this content.
    Last edited by stnkynts; 01-08-2016 at 07:55 PM.
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Registered User
    Join Date
    05-28-2015
    Location
    Lakeland, FL
    MS-Off Ver
    Excel 13
    Posts
    66

    Re: How to delete an entire Row that contains certain information

    Thank you that worked perfect. Is there a way to do the same thing but instead of deleting the row, cutting the row and then pasting it to the bottom of the list?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to delete an entire Row that contains certain information
    By Nuccio92 in forum Excel General
    Replies: 2
    Last Post: 01-08-2016, 05:00 PM
  2. VBA code to delete the FILTERED range and moving the cell up (dont Delete entire row)
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2015, 07:48 AM
  3. Replies: 4
    Last Post: 10-12-2014, 08:54 AM
  4. Copy entire rows of information to new tab if cells contains X
    By Sooz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2014, 04:44 PM
  5. [SOLVED] Delete cell only with certain critria. Don't want to delete entire row, the celsl only
    By RobertOHare in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2013, 04:18 AM
  6. search 2 different columns for same information and copy entire row
    By Biogeek1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2013, 08:44 AM
  7. Delete entire row when cell says delete
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-27-2007, 11:46 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