Help please..... EXCEL VBA to split sheet and save multiple workbooks named as "date" & "S_no" +1

jcb354

New Member
Joined
Sep 13, 2018
Messages
1
Hi there - could someone please help me - I have been searching amongst many threads to come to a solution, but whilst there are many posts that help a little, I cant get the final result.

I have a workbook that could have as many as 1000 lines.
The data is formatted OK and ready to go, however it needs to;

a). Split into separate workbooks of 50 rows with the same header as the lsource page (Count_Veri)
b). Column A in each split needs to number (after header row) 1 thru 50. Source page currently numbers 1 thru final record.
c). File names need to be "Custom" then "ddmmyy" then Serial No of split, so if 439 records, 1 - 5.
d). If possible, can it create a folder with a path as My Documents "Sales-ddmmyyyy" to be save each days records separately?

help with achieving a through c would be great, d would be a bonus!

I hope someone can help - been working on this for ages!

Thanks for all your assistance!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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