+ Reply to Thread
Results 1 to 5 of 5

Finding specific text in a column and deleting rows

  1. #1
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Finding specific text in a column and deleting rows

    How can i find a specific text in column A(Eg find AAAA in column A) and then delete all the rows including the row containing text plus one more row.
    Best Regards/VKS

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Finding specific text in a column and deleting rows

    Hi VKS,

    Is there any specific criterion for deleting the "one more row"? You can use the Find...FindNext function.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: Finding specific text in a column and deleting rows

    try this

    Please Login or Register  to view this content.
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  4. #4
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: Finding specific text in a column and deleting rows

    Quote Originally Posted by xladept View Post
    Hi VKS,

    Is there any specific criterion for deleting the "one more row"? You can use the Find...FindNext function.
    Reason is that next row is blank and i am trying to put aprox 10 lines from 50 sheets in one place

    Best Regards/VKS

  5. #5
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    521

    Re: Finding specific text in a column and deleting rows

    @MaczaQ: Thanks for your help. Its bit late in my part of the world will try your code tmow and let you know.
    Thanks for your help and time.
    Best Regards/VKS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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