Hi,
Please can some help me?
I have the following code that works fine until I try it towards the end of the range.
So basically it is for a monthly check to be carried out at work. Once the check has been done that cell is entered with a Y and the rest of the range automatically enter a C and then it doesn't need to be touched again until the next month.
But if the check hasn't been done before column BL which is the day shift on the last day of the month, it comes up with the error in the title.
When I end the error message the code has done what it should of done, so does anyone know why the error message is popping up?
Any help would be much appreciated.
Thanks
Dan
Please can some help me?
I have the following code that works fine until I try it towards the end of the range.
Code:
If Not Intersect(Target, Range("D23:BM23")) Is Nothing Then
If Target.Value = "Y" Then
Target.Offset(, 1) = "C"
Target.Offset(, 1).AutoFill Range(Target.Offset(, 1), "BM" & Target.Row)
End If
End If
So basically it is for a monthly check to be carried out at work. Once the check has been done that cell is entered with a Y and the rest of the range automatically enter a C and then it doesn't need to be touched again until the next month.
But if the check hasn't been done before column BL which is the day shift on the last day of the month, it comes up with the error in the title.
When I end the error message the code has done what it should of done, so does anyone know why the error message is popping up?
Any help would be much appreciated.
Thanks
Dan