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!
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.
I forgot The attach file!!!
'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:
...then the macro parsed out the data to individual sheets as is. Give it a try.![]()
Set ws = Sheets("Hoja2") vTitles = "A3:Z3"
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon 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!)
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!!
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.
Sorry, it run very well, thanks a lot![]()
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks