+ Reply to Thread
Results 1 to 3 of 3

Copy row if cell value equals string - All worksheets in book to new sheet

  1. #1
    Registered User
    Join Date
    10-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy row if cell value equals string - All worksheets in book to new sheet

    Hello-

    I would like to use VBA to review column A in all sheets in a workbook. If "EDIT_NAME" and/or "EDIT_DATE" are found, copy those row(s) to a new sheet, along with the sheet name from which they were copied. Some sheets might have both instances, one or none.

    There are few great examples in this forum that look perfect but I can't hack them to work into my case. Specifically this solution by Trebor76: http://www.excelforum.com/excel-prog...cent-cell.html My VBA skill is non-existent and im hoping to use this as an opportunity to learn. Thank you for any help you can provide.

    See attached example workbook : EditFields_Info_Example.xlsm
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Copy row if cell value equals string - All worksheets in book to new sheet

    Hi psl,

    Welcome to the forum!!

    Specifically this solution by Trebor76
    I don't mind his code myself I must say

    Let us know how this goes:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    10-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy row if cell value equals string - All worksheets in book to new sheet

    Wow, great work Robert. Thanks for the reply. This works as expected. I really appreciate your help.

    Here are some ways the search for variables could be expanded:
    Search for 3 strings in column A:

    Please Login or Register  to view this content.
    If I want to include a wildcard:

    Please Login or Register  to view this content.

+ 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] Copy row to another sheet if cell equals value
    By AggyRJ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-31-2013, 01:11 AM
  2. [SOLVED] If cell X's content in Sheet A equals to cell Y's content in Sheet B, Then copy some data.
    By sunheroj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-09-2012, 09:25 AM
  3. Delete rows in all worksheets where column A equals string
    By excelforum123 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-13-2010, 09:25 AM
  4. if a cell equals certain list string then image on new sheet
    By davemojo82 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2009, 05:14 AM
  5. Copy worksheets from one book to another
    By Grotifant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

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