erimhast83
New Member
- Joined
- Jan 3, 2018
- Messages
- 14
In the below code I am trying to look through my data for a specific name and then cut that data and paste it into a specific cell but I am getting an error on the last line. the error states: runtime error 438 object doesn't support this property or method. Can anyone help me see what I am missing? Thank you!
Sheets("Raw Data").Select
Last = Cells(Rows.Count, "A").End(xlUp).Row
For i = Last To 1 Step -1
If (Cells(i, "A").Value) = "SLEEPER,MELISSA" Then
Cells(i, "A").Cut
Cells(i + 2, 16).Paste
Sheets("Raw Data").Select
Last = Cells(Rows.Count, "A").End(xlUp).Row
For i = Last To 1 Step -1
If (Cells(i, "A").Value) = "SLEEPER,MELISSA" Then
Cells(i, "A").Cut
Cells(i + 2, 16).Paste