Hi Guys
Can someone help to update this code which i found but i don't no how to include the Auto Serial number code along with the code
after inserting the code it works fine but i need the column B to general Serial Numbers but i guess i cant
Appreciate if anyone could assist
Can someone help to update this code which i found but i don't no how to include the Auto Serial number code along with the code
after inserting the code it works fine but i need the column B to general Serial Numbers but i guess i cant
Appreciate if anyone could assist
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rInt As Range
Dim rCell As Range
Dim tCell As Range
Set rInt = Intersect(Target, Range("B:B"))
If Not rInt Is Nothing Then
For Each rCell In rInt
Set tCell = rCell.Offset(0, -1)
If IsEmpty(tCell) Then
tCell = Now
tCell.NumberFormat = "mmm d, yyyy hh:mm"
End If
Next
End If
End Sub