+ Reply to Thread
Results 1 to 5 of 5

macro to delete rows containing certain items

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    macro to delete rows containing certain items

    I have tried to write code to delete all rows where items starting with Z1 and X1 appears in Col E


    Please Login or Register  to view this content.
    It would be appreciated if someone can kindly assist me


    I have posted a similar question on https://www.mrexcel.com/board/thread...nd-x1.1180679/

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: macro to delete rows containing certain items

    Hi Howardc1001,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: macro to delete rows containing certain items

    Thanks for the help

    Your code works perfectly

  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 to delete rows containing certain items

    I have posted a similar question on https://www.mrexcel.com/board/thread...nd-x1.1180679/
    This Forum not fast enough for you...
    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!!!

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,725

    Re: macro to delete rows containing certain items

    I posted on Mr Excel.com 2 days ago and received no answer

    The response on this forum is certainly very quick. I use this forum in the majority of my posts

    I'm certainly extremely grateful for the responses on this fantastic forum

+ 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] Macro to Delete Rows where common items sums to zero
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2021, 04:13 AM
  2. [SOLVED] Macro to delete certain items then count remaining items #2
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-21-2019, 02:26 PM
  3. [SOLVED] Macro to delete certain items then count remaining items
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-14-2019, 03:20 PM
  4. [SOLVED] delete rows of selected items on listbox
    By 9599lorenzo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2015, 01:57 PM
  5. [SOLVED] Macro to Delete Rows and Renumber Items after
    By jaredmccullough in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-15-2014, 03:49 PM
  6. Delete rows that do not match items from listbox
    By pietras152 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-12-2013, 01:08 PM
  7. [SOLVED] Delete rows that have data less than 20 items or less than value of £300
    By Crowbar via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2005, 05:05 PM

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