Trying to delete some data with a macro but I get a 424 object required error when I get to the deletion. Code is as follows:
myArray(j, 1).Resize(0, 12).Delete shift:=xlUp is where I get the error.
VBA Code:
For j = 1 To i
If myArray(j, 9) = "Pick Up" Or myArray(j, 9) = "Pick Up - NEEDS REVIEW" Then
myArray(j, 1).Resize(0, 12).Delete shift:=xlUp
End If
Next j
myArray(j, 1).Resize(0, 12).Delete shift:=xlUp is where I get the error.