+ Reply to Thread
Results 1 to 3 of 3

Find Text Within A Row, Then Copy Information Below That Cell To Second Worksheet

  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    KC, Kansas
    MS-Off Ver
    Office 365
    Posts
    18

    Find Text Within A Row, Then Copy Information Below That Cell To Second Worksheet

    I’ve recently taken over an Excel workbook that uses VBA to find, copy, and paste information between two workbooks. I’m relatively new to Excel VBA coding, so I’m looking for any help that will reduce the vast number of lines, over 300, of redundant coding. I will be unable to provide the actual coding as it includes sensitive information and would take a lot of time to make the coding genetic. Here is what I want to accomplish:
    • Find each instance of text within a row range
    • Once I find a cell with text, I want to copy the cell and a 5x5 block of information, which is two rows below that cell, to another workbook
    • The copied information needs to be appended to the last used row in the second worksheet

    I’ve searched the web for ideas on how to accomplish this. I can find snippets of coding that can do some parts, but I don’t know how to consolidate and organize the coding into a single process.
    The attached file is a very raw example of the type of data I’m using. The three blocks of values on the source tab need to be pasted into the destination worksheet. Currently, in the destination tab is the format/result required.

    Any help is greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Find Text Within A Row, Then Copy Information Below That Cell To Second Worksheet

    Welcome (back) to the forum.

    Thanks for your question. However, we have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.

    (Note: this requirement is not optional. No help to be offered until ALL links - we are aware of at LEAST 3 - are provided.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-16-2013
    Location
    KC, Kansas
    MS-Off Ver
    Office 365
    Posts
    18

    Re: Find Text Within A Row, Then Copy Information Below That Cell To Second Worksheet

    I'm sorry for this mistake. I didn't really understand what cross-posting was when I submitted the original post on various sites.

    Here are the locations of the other posts related to this one I submitted on other sites:

    http://www.vbaexpress.com/forum/show...934#post415934

    https://chandoo.org/forum/threads/fi...rksheet.48454/

    There was a reply on vbaexpress.com with a solution that is almost what I need. The post on this forum by jolivanes was exactly what I need. Is it possible to have that post and/or coding available to me?

+ 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. Replies: 4
    Last Post: 02-28-2014, 02:56 PM
  2. Replies: 3
    Last Post: 10-31-2013, 03:41 PM
  3. find a value fom a cell on a worksheet and display information onto another
    By bulkodave in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2013, 09:35 AM
  4. Copy cell information from one worksheet if a cell matches the criteria
    By grammydeb52 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2013, 01:00 AM
  5. Find text and copy row(s) to another worksheet
    By selsley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 04:20 PM
  6. Replies: 0
    Last Post: 11-06-2012, 06:44 PM
  7. Replies: 24
    Last Post: 01-17-2012, 12:06 PM
  8. find cells containing text and copy to another worksheet
    By Totosha in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-23-2010, 12:50 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