+ Reply to Thread
Results 1 to 5 of 5

If text is found, move it to another cell + delete that row.

  1. #1
    Registered User
    Join Date
    03-13-2014
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    25

    If text is found, move it to another cell + delete that row.

    Hi Guys,

    I need a VBA coding to do the following:
    If a cell in Column C contain certain text, then move that cell 1 up 1 right. For example: If the word "No Offer" is found in Cell C3, move it to cell D2. Then Delete row C3.

    Thanks Guys,

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: If text is found, move it to another cell + delete that row.

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

  3. #3
    Registered User
    Join Date
    03-13-2014
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: If text is found, move it to another cell + delete that row.

    Hi StephenR,

    Thanks for your reply.
    I've tested your code but nothing happens. Am I missing something here?
    Please Help,

    Thanks Guys

  4. #4
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: If text is found, move it to another cell + delete that row.

    If you change
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.
    it works

  5. #5
    Registered User
    Join Date
    03-13-2014
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: If text is found, move it to another cell + delete that row.

    Hi Phib1,

    Thanks man. It works like a Charm !!!
    Thanks a lot for your helps guys.

    Problem is solved.

+ 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] VBA - Move row up if text is found.
    By nobodyNZ in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-18-2014, 10:46 AM
  2. Delete row of found text
    By frank35 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-19-2013, 11:38 AM
  3. [SOLVED] If Or statement to check cell text and delete entire row if text is found
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2013, 11:46 AM
  4. If text in cell contains text found in another cell, delete row.
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2012, 09:42 AM
  5. find text then delete two rows below it including row of found text
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2011, 08:05 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