Copying Row 1 Into Every Third Blank Row

mlmrob

Board Regular
Joined
Sep 22, 2008
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Is there anyway that Row 1 can be copied and pasted into evry third row as in the the attached document.

When the sheet is formulated only Row 1 has the data I need need to copy and paste and I just do it manually. Is there a way it can be automated.

I have provided a link to what the finished sheet should look like

https://www.dropbox.com/sh/2kybcn6vi6kcxnd/AABYcl7rEbWCYyfmLnHP6Ngla?dl=0

The link below is the sheet before copying and pasting

https://www.dropbox.com/s/4ft1qid4h8xmpij/Plus Example Blank.xlsx?dl=0

The sheet can go down to 2000 lines.

Thanks and Regards

Rob
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
How about
Code:
Sub CopyHeader()
   
   Dim Rng As Range
   
   For Each Rng In Columns(1).SpecialCells(xlBlanks).Areas
      Rng.Offset(Rng.Count - 1).Resize(1).EntireRow.Value = Rows(1).EntireRow.Value
   Next Rng
   
End Sub
 
Upvote 0
Thanks for the prompt reply, will give that a go today.
 
Upvote 0
Perfection Fluff, thank you very much for your time, much appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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