+ Reply to Thread
Results 1 to 8 of 8

Macro Correction (If condition matched in a column then delete that entire row)

  1. #1
    Registered User
    Join Date
    05-10-2020
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    92

    Macro Correction (If condition matched in a column then delete that entire row)

    Hi,
    I have a macro below that deletes the entire row by vba if column C has 1
    But There are more numbers suppose it has 2 also then also it should delete that entire row by vba & there are much more
    So I am looking for that type of Macro



    Please Login or Register  to view this content.
    Thnx

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    But There are more numbers
    Please Login or Register  to view this content.
    Last edited by sintek; 08-24-2020 at 07:57 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    05-10-2020
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    92

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    Please Login or Register  to view this content.
    Macro is delteing the Header also plz see the sample file & run it
    Attached Files Attached Files

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    Please Login or Register  to view this content.
    Last edited by sintek; 08-24-2020 at 09:09 AM.

  5. #5
    Registered User
    Join Date
    05-10-2020
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    92

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    Getting Error
    Plz run the macro Sintek Sir & see
    Attached Images Attached Images

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    My bad...Forgot to reset filter

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-10-2020
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    92

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    Thnx Alot Sintek Sir for Helping me in solving this Problem Sir
    Have a Awesome Day Sir

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro Correction (If condition matched in a column then delete that entire row)

    Pleasure...Tx for rep +

+ 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] delete entire row if not matched
    By dumdumbum in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-05-2020, 06:20 PM
  2. File Open and Search column from A1:CE1. If matched than copy entire row for that column.
    By shivanisachdeva167 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2014, 01:51 PM
  3. [SOLVED] VBA to find Column, search the cell value and delete entire row on condition met
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2014, 01:23 PM
  4. Replies: 12
    Last Post: 12-28-2012, 07:49 PM
  5. [SOLVED] VPA delete entire row if condition met & move upxit from macro
    By Alfie101 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-04-2012, 03:27 AM
  6. [SOLVED] Macro to delete entire row on a condition
    By kgonzalbo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2011, 12:39 AM
  7. How do you delete entire column with Macro?
    By geng in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2010, 09:26 PM

Tags for this Thread

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