I am creating a simple sheet and want the data to automatically sort from the date in Column A. My problem is that it is sorting as soon as I put the date information in causing me to have to tab up to where it has been sorted to and finish inputting my other information. I need it to either wait until all the information is put into the row or after it sorts to automatically move to the resorted area for input of the rest of the information. I am using columns A - I presently. Below is the macro I am using. Any help would be appreciated. Private Sub Worksheet_Change(ByVal Target As Range)
Set t = Target
Set a = Range("A:A")
If Intersect(t, a) Is Nothing Then Exit Sub
Application.EnableEvents = False
Cells.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlYes
Application.EnableEvents = True
End Sub
Set t = Target
Set a = Range("A:A")
If Intersect(t, a) Is Nothing Then Exit Sub
Application.EnableEvents = False
Cells.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlYes
Application.EnableEvents = True
End Sub