Split the excel data in worksheet to save it in two separate excel files

sat1591

New Member
Joined
Mar 16, 2014
Messages
4
Hi Friends,

I need a help from you all for making a macro which helps me save some time.

My query is very simple. Please find the below.

Excel data consists of 1,000,000 rows and 50 columns with header in one worksheet.

I need a macro such a way that when i run, the excel should split into two workbooks with 500,000 rows and 50 columns (exact half) respectively, Header in main workbook should copy and paste in that two workbooks and save with different filename like Split(1).xlsx and Split(2).xlsx.

I have browsed many websites and watched many videos but I did not find any solution for this. Please help me

Thanks in advance.
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top