VBA Code:
Private Sub CommandButton1_Click()
a = InputBox("Enter the Row", "Excel VBA Says", "Please enter data")
Rows("a").Select
Selection.Copy
Selection.Insert Shift:=xlDown
Range("L8").Select
Application.CutCopyMode = False
Selection.ClearContents
Rows("a" + 1).Select
Selection.Rows.Group
ActiveSheet.Outline.ShowLevels RowLevels:=1
End Sub