In excel, I have a VBA program that runs when ever I enter text in column A. In column B, it records the date and time stamp when it there is text there. I need the cursor to move to column C automatically after the date and time stamp. How can this be accomplished?
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A2:A1000")) Is Nothing Then
With Target(1, 2)
.Value = Now
.EntireColumn.AutoFit
Code_Goes_Here
End With
End If
End Sub