Copy certain column N number of times

sm789

New Member
Joined
Aug 17, 2014
Messages
30
Office Version
  1. 2011
Platform
  1. MacOS
I have a workbook called ReportMonth with two sheets. The Master sheet has 40 columns of data. The number of row changes every month. First 8 rows are Header rows and need not be copied.

Every month a need to generate the Report sheet that takes data from 22 columns (not continuous) of Master and must repeat for the number of rows in the Master sheet (except the header rows - or from row 9 all the way to the last row).

In the Report sheet, in row 8 I have put formulas in each column pointing to the column in Master sheet. Basically, I want Row 8 of the Report sheet to be copied down for N number of rows where N is the last row of Master sheet. Once it is done, I would like the the code to copy A8 to the last cell in Report sheet and PasteSpecial (Values and number format) to Report2024 Sheet in another Workbook called ConsolidatedReport.xlsx

Is there a simple code for this?

Many thanks.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,813
Messages
6,181,117
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