Macro Help - Open Files in Folder & Paste Header Row

mbeutler1203

New Member
Joined
Feb 26, 2021
Messages
1
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Mobile
  3. Web
I need some help with some macro development. Below are some details regarding the situation and what the macro must do.
  • File folder contains "non-header row" workbooks without headers and one "master header" workbook that just has a header row of data
  • Macro must do the following
    • Copy the header row that appears in the "master header file"
    • Open a "non-header row" workbook, insert a new row at row 1, paste the header while maintaining the formatting from the "master header" workbook
    • Close the newly edited workbook
    • Open the next workbook
    • Repeat until all workbooks edited
I look forward to receiving your help and will be active if you have any questions!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Watch MrExcel Video

Forum statistics

Threads
1,129,479
Messages
5,636,574
Members
416,925
Latest member
malamutus

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
Top