How can I copy the first row before each other row in Excel?

Michael George

New Member
Joined
Jun 29, 2016
Messages
4
Hello,

Would you help me,Please? I would like to do the following:


exl.jpg


I would like to copy row 1 before row 2 , row 3 ... and so on.
So that when I print the sheet and cut the paper, Mark will see the first raw and his own data and he is not allowed to see the data of other persons.
Also, each person will see the first raw and their own data only.

I know I can copy the first raw manually but this would be very hard in case of too many persons. I need an automatic way to copy the first raw before each other row.

Thank you very much,
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try
Code:
Sub MM1()
Dim lr As Long, r As Long
lr = Cells(Rows.Count, "A").End(xlUp).Row
For r = 3 To lr + 2 Step 2
    Rows(1).Copy
    Rows(r).Insert
Next r
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,628
Messages
6,125,900
Members
449,271
Latest member
bergy32204

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