+ Reply to Thread
Results 1 to 7 of 7

separate data of differents countries in others sheets

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    separate data of differents countries in others sheets

    hello!I want to create a macro or formula to separate in differents sheets the data of the same country in the attach file.

    thanks a lot in advance!
    Last edited by silviario; 05-04-2011 at 06:22 AM.

  2. #2
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: separate data of differents countries in others sheets

    I forgot The attach file!!!
    Attached Files Attached Files

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: separate data of differents countries in others sheets

    'SHEET1 TO MANY SHEETS
    Here's a macro for parsing rows of data from one sheet to many sheets named for the same values in a specific column.It not only can parse the rows, it can create the sheets if they are missing. There is a sample sheet there where you can test this out.


    For your workbook, all I had to edit was these two lines:
    Please Login or Register  to view this content.
    ...then the macro parsed out the data to individual sheets as is. Give it a try.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: separate data of differents countries in others sheets

    I do this macro but it didnīt do anithing...maybe I not understand very well, can you explain a little more the instruction??

    Thanks a lot!!

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: separate data of differents countries in others sheets

    When I made the changes noted in post #3, then put the edited code into a regular code module and ran it, it created all the sheets needed. What did you do?

    Post your workbook here with the macro edited and installed in it so I can see how you implemented it, I'm sure we'll spot the problem.

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.

  6. #6
    Registered User
    Join Date
    04-15-2011
    Location
    madrid
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: separate data of differents countries in others sheets

    Sorry, it run very well, thanks a lot

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: separate data of differents countries in others sheets

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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