I am working on code where if in Column "A"="test" then to copy cell from Col C into Col F but without spaces . Can someone please help?
Sub FindValuePaste()
Dim FndRng As Range
Dim cll As Range
Set FndRng = Range("A3:A9")
For Each cll In FndRng
If cll.Value = "test" Then
' cll.Offset(0, 5) = cll.Offset(0, 2).Value
Range("F1").Offset(1) = cll.Offset(0, 2).Value
End If
Next cll
End sub
Appreciate your help and thank you in advance!


.End(xlUp).Rowto locate the last rowCountAto get the count of non-blank cells (The data should be start from F1 on Col F)