+ Reply to Thread
Results 1 to 16 of 16

Find specific cell, copy row from several tabs and paste in summary sheet

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Find specific cell, copy row from several tabs and paste in summary sheet

    Hello!

    Trying to do my first macro ever...pasted togehter some code that i've found.

    So what I'm trying to do is a summary page that will collect the data (both text and numbers) in columns A:AA linked to a specific row.
    The row represents a certain package number, that you should type in on the first page, then click on run macro.
    It should then go through all the tabs and collect the rows from each tab = 3 in total

    Please please help me!! Been doing this for 2 days now...


    Example1.xlsm


    Here's my file and the code i've got so far which doesn't return any value...

    Please Login or Register  to view this content.
    Last edited by helnil; 09-03-2012 at 08:54 AM.

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

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Is this what you wanted?
    Please Login or Register  to view this content.
    Edit your post and wrap the code with the code tag
    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]
    Last edited by jindon; 09-03-2012 at 08:06 AM.

  3. #3
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Please use Code tags for your code []

  4. #4
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Hey! Thanks that was very quick

    just copied your code and pasted it over my old and ran it

    worked just about fine, only in each tab in columns F:M (number entries), N (an equation), O:U (number entries), V (an equation), W:Y (number entries), Z&AA (equations)
    it only collected ones. I would like it to collect whatever the cells says...which will be a number between 1-10. Perhaps it would be simpler to have the equations in the summarysheet and only collect F:M, O:U and W:Y?

    Really new at this, so what du you mean with wrap the code witht he code tag?? []

    So so greatful for your response!!

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

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Reg code tag, see my post.

    Can you post the workbook with your desired result?

  6. #6
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    So you use the code tags.
    On your first post hit edit and put [*CODE] and the begining of the code and [*/CODE] at the end of the code witouth the *

  7. #7
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Example of desired result.xlsm

    here I try to describe!

  8. #8
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    tried that on my old code...doesn't work, I guess there's alot of things wrong with that? so trying to sort out jindon's code

    thanks

  9. #9
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    helnil
    You put the [*CODE] tags here in the forum not in your code in the workbook.... Edit your post. So it looks like jindon
    post
    like this:
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    got ya!

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

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    You have 20201 in AE2,

    You must be searching 20101

  12. #12
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    yes!

    error from my side, it should be W20101

    but if i write another number ex. W20201 it should collect the rows for 20201....etc
    Last edited by helnil; 09-03-2012 at 09:05 AM.

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

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Do you want to add to the bottom?

    It is clearing according to your original code.
    Please Login or Register  to view this content.
    What do you want to do when new number entered?

  14. #14
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    I just want to look at and compare the the numbers that comes up for the specific work package I search for...e.i remove them when I run the next one.

    What I will then do is to insert the 4 different averages in a trend-diagram. But I haven't figured out how I would like that to look like. So that's a later problem or I might do it manually...

    So I just want to collect the row of numbers and text belonging to a specific work package, and have a look at the data.

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

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    Then the code should do.

    The code will pick up the number entered in AE2 from Issue # sheets and place in the right position as you click on the button.

  16. #16
    Registered User
    Join Date
    09-03-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Find specific cell, copy row from several tabs and paste in summary sheet

    The code works excellt, thanks for the help!

+ 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