I am trying to repeat this process x amount of times, but I keep getting the message "Compile Error: Loop without Do"
Here is my code
Do Until x > 10
x = x + 1
For Each Row In propertytable
Range("A2,B2,C2,D2,E2").Select
Range("E2").Activate
Selection.Copy
Sheets("Copy to' sheet").Select
Range("A1").Select
ActiveSheet.Paste
Rows("1:1").Select
Application.CutCopyMode = False
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Sheets("Property table").Select
Rows("2:2").Select
Selection.Delete Shift:=xlUp
Sheets("Copy to' sheet").Select
Loop
Thanks in advance for any help you may be able to provide.
Next RowbeforeLoop