richardcarter
Board Regular
- Joined
- Dec 10, 2003
- Messages
- 77
Totally stuck with a macro which I thought would be easy at first.. but have tried lots of different ways code and Googling to find similar solved problem but not getting very far.. so any help appreciated,,, All I am trying do is just copy all the data in one column (Col K) to another column (Col J) BUT ONLY if another column (A) has a particular word in it, otherwise leave the data in Column K
Have tried:
If Range("A3:A48").Value = "Bananas"
Then
Range("J3:J48).Value = Range("K3:K48").Value
End If
But VBA not accepting that as valid code...
Have tried:
If Range("A3:A48").Value = "Bananas"
Then
Range("J3:J48).Value = Range("K3:K48").Value
End If
But VBA not accepting that as valid code...
Last edited: