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:
INVDateClientClient Name NET InvoiceItem.AmountNetValueDiscountProportion Vat APPABOOPTAUSPECCS CCH RentBILLED DATETO BE BILLED

<colgroup><col><col><col><col><col><col><col><col span="3"><col><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>

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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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