+ Reply to Thread
Results 1 to 12 of 12

Find Character in text then copy row

  1. #1
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Find Character in text then copy row

    Hi, I appreciate all help here which is invaluable to me as I keep the message for further macros
    in Sheet1 Column 10 Find character where text is like this "X**" then copy whole row A:F to first empty cell in sheet2.
    As you can see there are cells which are empty as well

    examples:
    9632x
    20x70 This is True
    84x7x
    3986x
    9959x

    0

    80x
    80x
    2896x
    x752x This is False
    97x0
    2x588
    48x30 this is true
    09x42 this is true
    359x6
    97x69 this is true

    Any help will be appreciated
    Regards
    Graham

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Find Character in text then copy row

    Hi Graham,
    Try this:
    Please Login or Register  to view this content.
    VBA for Graham.xlsm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: Find Character in text then copy row

    Grahamfeeley,

    Here's how I read your problem.
    Please Login or Register  to view this content.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find Character in text then copy row

    Or this:
    Please Login or Register  to view this content.
    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 05-15-2017 at 02:20 AM.

  5. #5
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: Find Character in text then copy row

    Thanks for your help, however it stops on this line
    .AdvancedFilter 1, .Parent.[z1:z2]
    Regards
    Graham

  6. #6
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: Find Character in text then copy row

    This code does copy but not what is required
    Thanks for trying
    Graham

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

    Re: Find Character in text then copy row

    Working, otherwise you need to upload your workbook.
    Attached Files Attached Files

  8. #8
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find Character in text then copy row

    Quote Originally Posted by Grahamfeeley View Post
    This code does copy but not what is required
    ...
    To which post # / code were you referring? And specifically WHAT requirements weren't met?
    Please don't keep us guessing, we're trying to solve YOUR problem.
    Last edited by leelnich; 05-15-2017 at 02:45 AM.

  9. #9
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: Find Character in text then copy row

    Ok sorry about that, I hope you all realize I really appreciate all your help
    I will upload my file
    Attached Files Attached Files

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

    Re: Find Character in text then copy row

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: Find Character in text then copy row

    Leelnich actually your code did the trick, works perfectly and fast as well

    Thanks guys for all your participation
    Graham

  12. #12
    Forum Contributor
    Join Date
    03-30-2014
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2013
    Posts
    274

    Re: Find Character in text then copy row

    Jindin , thanks for the code last post code works perfectly
    Much appreciated
    Graham

+ 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. Find text to the left of character
    By cmb80 in forum Excel General
    Replies: 14
    Last Post: 10-12-2014, 07:41 PM
  2. [SOLVED] Find text left or right of a specific character in a text string
    By Locopete99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2014, 05:55 AM
  3. Replies: 4
    Last Post: 04-06-2014, 01:21 PM
  4. Macro to find character and delete all text in cell after the character
    By SpencerRichman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 06:08 PM
  5. Text parsing, find string after : character
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-14-2010, 10:46 PM
  6. VBA Wildcard character / find cell which CONTAINS a text
    By adgjqetuo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2009, 04:18 AM
  7. [SOLVED] Find last occurance of character in text string
    By JDay01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2006, 12:35 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