Dustywrinklemen
New Member
- Joined
- Nov 5, 2013
- Messages
- 19
Here is part of my code. I want it to select the value in the next column over if the original value meet the criteria.
Sub Macro1()
Range("d4").Select
Do
If Selection.Value < 13 Then
ActiveCell.Offset(0, -1).Select
Selection.Copy
Sheets("ela sgo").Select
Range("M1").Paste
Else
Selection.Offset(1, 0).Select
End If
Loop
End Sub
I am getting the error (object doesn't support this property or method) for Selection.paste
Probably an easy fix or something's wrong with the top part but I'm new to all this, help!
Sub Macro1()
Range("d4").Select
Do
If Selection.Value < 13 Then
ActiveCell.Offset(0, -1).Select
Selection.Copy
Sheets("ela sgo").Select
Range("M1").Paste
Else
Selection.Offset(1, 0).Select
End If
Loop
End Sub
I am getting the error (object doesn't support this property or method) for Selection.paste
Probably an easy fix or something's wrong with the top part but I'm new to all this, help!