First of all a happy new year to you all.
I have a macro which always worked perfectly. Now part of it doesn't doe it's job properly anymore:
[pre]
The word FINISHED isn't replaced by the date anymore.
Can anyone help?
Thanks, govi
I have a macro which always worked perfectly. Now part of it doesn't doe it's job properly anymore:
[pre]
Code:
Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
If Target.Cells.Count > 1 Then Exit Sub
If Target.Column <> 10 Then Exit Sub
If Target.Text = "FINISHED" Then
Range(Cells(Target.Row, 4), Cells(Target.Row, 16)).Copy Sheets("archief").Cells(Rows.Count, 1).End(xlUp).Offset(1)
Range(Cells(Target.Row, 3), Cells(Target.Row, 16)).ClearContents
End If
Sheets("archief").UsedRange.Replace "FINISHED", Date
End Sub[/pre]
This part doesn't work:
Sheets("archief").UsedRange.Replace "FINISHED", Date
The word FINISHED isn't replaced by the date anymore.
Can anyone help?
Thanks, govi