Hi guys I am trying to figure out why I am getting a type mismatch when deleting rows past a certain number.
Well I am not sure if this is because its a large number of rows but here is the code I use.
With Worksheets("PWPCP")
Rows("6:" & .UsedRange.Count).Delete
End With
I made this to delete all the data in rows 6 and below but its giving me a type mismatch error and I am not sure how to fix this.
thanks
Well I am not sure if this is because its a large number of rows but here is the code I use.
With Worksheets("PWPCP")
Rows("6:" & .UsedRange.Count).Delete
End With
I made this to delete all the data in rows 6 and below but its giving me a type mismatch error and I am not sure how to fix this.
thanks