hi Bernie Thank again now it did work as you said i am going to use
as follow!
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Long
If Intersect(Target, Range("B:D,N:P")) Is Nothing Then Exit Sub
Application.EnableEvents = False
For i = Target.Cells(1).Row To Target.Cells(Target.Cells.Count).Row
If Cells(i, "B").Value <> "" And Cells(i, "C").Value <> "" And Cells(i, "D").Value <> "" And Cells(i, "F").Value = "" Then
Cells(i, "F").NumberFormat = "m/d/yyyy h:mm AM/PM"
Cells(i, "F").Value = Now
End If
If Cells(i, "N").Value <> "" And Cells(i, "O").Value <> "" And Cells(i, "P").Value <> "" And Cells(i, "R").Value = "" Then
Cells(i, "R").NumberFormat = "m/d/yyyy h:mm AM/PM"
Cells(i, "R").Value = Now
End If
Next i
Application.EnableEvents = True
Range("F:F,R:R").EntireColumn.AutoFit
the is that remain is as follow!
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 4 Then i can not write any number in this cell or even click
Beep
Cells(Target.Row + 1, 2).Activate
End If
If Target.Column = 17 Then i can not write any number in this cell or even click
Beep
Cells(Target.Row + 1, 15).Activate
End If
End Sub
if i change target 4 and 17 it work but then my Laser measurement tool wont work!