"Insert Copied Cells" question - Excel 2010

wilkisa

Well-known Member
Joined
Apr 7, 2002
Messages
660
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
My user has a data table that begins with a header row. Table range is presently A1:M44 with Row 1 being the header row. He wants to copy the entire header row by selecting the Row 1 selector, then INSERT COPIED CELLS every 5 rows down. Excel will allow him to copy/insert copied cells one time only. After that, he only has the option to INSERT which puts in a blank row. The copied row is still selected like it is on the clipboard. I also have XL07 as well as XL10 and can duplicate his problem.

I have tried several tricks to work around it but am unable to do so. Does anyone else have a suggestion, other than the obvious to tell the user to insert blank rows then paste the data? There doesn't seem to be a predefined tool in the All Commands list either. I can't decide if this is a bug or by design.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
If a macro is an option, try this placed in a standard module:
Code:
Sub InsertHeader()
    Dim LR As Long
        LR = Range("A" & Rows.Count).End(xlUp).Row / 5
    Application.ScreenUpdating = False
    Application.Goto Reference:=ActiveSheet.Range("A1")
    For i = 1 To LR
        With Rows("1:1").Copy
            ActiveCell.Offset(6, 0).Select
            Selection.Insert Shift:=xlDown
        End With
    Next i
    Application.CutCopyMode = False
End Sub
 
Upvote 0
Thanks, Nalani, for the macro. I'm still curious about the problem, though. Is it truly by design or is it a bug? Anyone know the answer?
 
Upvote 0

Forum statistics

Threads
1,224,596
Messages
6,179,807
Members
452,943
Latest member
Newbie4296

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