Solved

Copy paste Excel

Posted on 2013-01-15
6
187 Views
Last Modified: 2013-01-16
Hello,
Sheet one contains all information.
I'm trying to find the Accounts under Column B, create a new sheet with same name, copy the header, and rows into new sheet,
Attached Sample.

Can someone help with a vb code that can accomplish this.

Any help is appreciated.
Thank you.
Sample.xlsx
0
Comment
Question by:W.E.B
  • 4
  • 2
6 Comments
 
LVL 29

Expert Comment

by:gowflow
ID: 38780839
Is this what you want ?
Make sure macroes are activated and run the Macro called SubCategorySplit

Let me know
gowflow
Sample-Account.xlsm
0
 

Author Comment

by:W.E.B
ID: 38781009
Hello gowflow,

I appreciate your help,
the code you sent me only works on small files.

if I put 50 or 100 raws, works great.

If I put about 1000 or above , it freezes and not responding.

I will have almost 10000 / more/less Raws. (about 25 Sheets to be created).

Thanks
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38781475
ok fine let me review. One question is the formating important in your sheets ? Is the sheet1 you posted the same format as your original ? like does columns hv special number format etc ... can oyu post the main sheet that hv some data (change sensitive data) so I can fine tune it ?
gowflow
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 29

Accepted Solution

by:
gowflow earned 400 total points
ID: 38781730
I refined the code and added 20000 lines with lots of sheets and made it in a way to show you progress each time it creates a sheet. By the way it was not freezing your system but processing without showing anything !!!

Try this version and let me know.
gowflow
Sample-Account.xlsm
0
 

Author Closing Comment

by:W.E.B
ID: 38782205
Awesome,
Thank you very much.
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38782505
Your welcome anytime.
gowflow
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now