Sorry for the delay.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim val As Integer
Application.ScreenUpdating = False
If Target.Column = 1 And Target.Row = 1 Then
On Error Resume Next
val = Target.Value
On Error GoTo 0
If val > 0 Then
Sheets("SourceDataSheetName").Range("A2:T20").Copy
Sheets("SheetToCopyToName").Range("A" & CStr(val * 20)).PasteSpecial (xlPasteAll)
Application.CutCopyMode = False
End If
Else
Exit Sub
End If
End Sub
I hope that helps.
You have to paste this code on the corresponding sheet. Check the Example with the working macro.
Example.xlsm
Bookmarks