+ Reply to Thread
Results 1 to 6 of 6

Delete Rows containing Certain Prefixes

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

    Delete Rows containing Certain Prefixes

    I have tried to write code to delete items where the number starts with an X in Col A from row 2 onwards , but cannot get it to work

    It would be appreciated if someone could kindly amend my code

    Please Login or Register  to view this content.
    Last edited by Howardc1001; 10-04-2019 at 12:25 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,716

    Re: Delete Rows containing Certain Prefixes

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: Delete Rows containing Certain Prefixes

    delete items where the number starts with an X in Col A
    Is it only X ...?

    delete items
    items are rows ???
    - Battle without fear gives no glory - Just try

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Delete Rows containing Certain Prefixes

    Not sure of your setup as no sample upload!!!
    Please Login or Register  to view this content.
    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 [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Delete Rows containing Certain Prefixes

    Quote Originally Posted by Howardc1001 View Post

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Re: Delete Rows containing Certain Prefixes

    Many Thanks for all the help Guys

+ 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. Rows delete formula as per range of cell values with counter to delete # rows
    By qureshi2016 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-03-2017, 09:35 AM
  2. Copy prefixed names to there own sheets
    By boltonlad2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2015, 02:49 PM
  3. [SOLVED] List all prefixed numbers from a range
    By searstream in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 01:01 PM
  4. How to Sort Numerically prefixed alpha numeric rows by Number
    By Shullay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-25-2012, 08:36 PM
  5. How to have txt prefixed into a cell?
    By jediknight in forum Excel General
    Replies: 4
    Last Post: 08-14-2010, 02:14 PM
  6. how do I add values prefixed with a letter
    By Davycc in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-08-2008, 02:28 PM
  7. Adding Rows after Prefixed no of rows
    By harish kumar in forum Excel General
    Replies: 1
    Last Post: 02-26-2005, 08:32 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