Why use two columns for Date/Time stamp when you can do both in a single column, with a value that returns both date and time?
Here is VBA code that should so that on the range you want. Just go to the sheet that you want to apply this to, right-click on the Sheet tab name at the bottom of the screen, select "View Code", and paste this code in the VB Editor window that pops-up:
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Dim cell As Range
' Specify range to monitor
Set rng = Range("A4:A6,A9:A50")
' Exit if no cells in watched range updated
If rng Is Nothing Then Exit Sub
' Loop through updated cells
For Each cell In rng
Application.EnableEvents = False
' If cell is not blank, add date/time stamp to column B
If cell <> "" Then
cell.Offset(0, 1) = Now()
' If cell is blank, clear date/time stamp from column B
Else
cell.Offset(0, 1).ClearContents
End If
Application.EnableEvents = True
Next cell
End Sub
This should run automatically as you make entries into cells A4:A6 and A9:A50.