Sub montecarlo()
Dim c As Range
Dim j As Integer
Dim Source As Worksheet
Dim Target As Worksheet
Set Source = ActiveWorkbook.Worksheets("Sheet1")
Set Target = ActiveWorkbook.Worksheets("Sheet2")
j = 1
For Each c In Source.Range("F1:F1000")
If c = "moved" Then
Source.Rows(c.Row).Copy Target.Rows(j)
j = j + 1
End If
Next c
Range("F:F").Delete
End Sub
Sub MoveRows()
Application.ScreenUpdating = False
Dim LastRow As Long, srcWS As Worksheet, desWS As Worksheet
LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Set srcWS = Sheets("Sheet1")
Set desWS = Sheets("Moved")
With srcWS
.Cells(1, 1).CurrentRegion.AutoFilter 6, "moved"
.AutoFilter.Range.Offset(1).Copy desWS.Cells(desWS.Rows.Count, "A").End(xlUp).Offset(1)
.AutoFilter.Range.Offset(1).EntireRow.Delete
.Range("A1").AutoFilter
End With
Application.ScreenUpdating = True
End Sub
Is it possible to re-edit it to delete the range (A: L) and shift the cells up ????.AutoFilter.Range.Offset(1).EntireRow.Delete