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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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