VBA code to copy selected date ranges, from core data worksheet, to 12 monthly worksheets

Stevie114114

New Member
Joined
Aug 8, 2018
Messages
1
Hi Guys,
In need of some serious layman coding advice here.
so, i have a worksheet "YE18" that contains the core data, for 12 months sales invoices:

headers are:
[TABLE="width: 1375"]
<colgroup><col><col><col><col><col><col><col><col span="3"><col><col span="2"><col><col><col><col><col></colgroup><tbody>[TR]
[TD]INV[/TD]
[TD]Date[/TD]
[TD]Client[/TD]
[TD]Client Name[/TD]
[TD] NET [/TD]
[TD] InvoiceItem.AmountNetValueDiscountProportion [/TD]
[TD] Vat [/TD]
[TD]AP[/TD]
[TD]PA[/TD]
[TD]BOO[/TD]
[TD]PT[/TD]
[TD]AU[/TD]
[TD]SPEC[/TD]
[TD]CS[/TD]
[TD] CCH [/TD]
[TD]Rent[/TD]
[TD]BILLED DATE[/TD]
[TD]TO BE BILLED[/TD]
[/TR]
</tbody>[/TABLE]

based on date range, for 12 tabs, months May to April (tabs named by month also in worksheet) i need to copy the whole line of data to the relevant month.

I also need some coding for the "billed date" column, that if it is not billed in the same month as the previous year (i will manually input the date into "YE18"), to carry it forward to the next calendar month.

I've tried to run some macros found on MRexcel, but it will only copy the whole set of data if it finds the date range, not just the date range that i actually need.

Any help gratefully received!!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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