Hi
Here's what I have so far;
The red line seems to cause problems. The result should be for each match, the adjacent cell value in "Rota" to be the same as the adjacent cell value in "Key".
Any ideas how I can get this to work would be hugely appreciated. Thank you
Edit: By problems, I mean a 'Run-time error '438' - Object doesn't support this property or method'. Sorry should've been more specific.
Here's what I have so far;
Code:
For Each c In Worksheets("Rota").Range("A3:A31")
If Not IsError(Application.Match(c, Worksheets("Key").Range("A16:A41"), 0)) Then
[COLOR="#FF0000"]Worksheets("Rota").c.Offset(0, 1).Value = Worksheets("Key").Match.c.Offset(0, 1).Value[/COLOR]
End If
Next
The red line seems to cause problems. The result should be for each match, the adjacent cell value in "Rota" to be the same as the adjacent cell value in "Key".
Any ideas how I can get this to work would be hugely appreciated. Thank you
Edit: By problems, I mean a 'Run-time error '438' - Object doesn't support this property or method'. Sorry should've been more specific.
Last edited: