VBA Macros to copy dynamic range from 1 sheet to another

HECGroups

Board Regular
Joined
Jan 16, 2012
Messages
164
Hello,

Referring to my post HERE , I need help to extract dynamic range to copy another sheets within the same workbook based on below conditions.

1. every range have 3 rows blank inbetween after copying the first range.

2. Copy Data per year
2.1 Copy range based on year (Not knowing can be 2, 5 or more...). In sample file there are 2 years but it can be more years.
2.2 Copy only column A, Column D, Column E & Column F (Skip Columns B & C). This is for range copying per year only.

3. Copy top 15 Billers per year
3.1 Copy top 15 billers per year if possible sort in Descending order
3.2 Copy only column B, Column D, Column E & Column F (Skip Columns A & C). This is for top billers only

I appreciate if someone can help me.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,214,989
Messages
6,122,622
Members
449,093
Latest member
catterz66

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