I am stump as this macro has been developed and use for many months not by me. Hope someone can guide me as I am a new user to macro. Thks. below is the problem code

PHP Code: 
Open p_1_calls_<yyyymmdd>.lst
     On Error 
GoTo OpenDataFileHandler
    DataFileName 
"p_1_calls_"
    
Workbooks.OpenText FileName:=source_dir DataFileName mydate ".lst"_
        Origin
:=xlWindowsstartRow:=1DataType:=xlDelimitedTextQualifier:= _
        xlDoubleQuote
ConsecutiveDelimiter:=FalseTab:=TrueSemicolon:=True_
        Comma
:=FalseSpace:=FalseOther:=FalseFieldInfo:=Array(Array(11), _
        
Array(21), Array(31), Array(41), Array(51), Array(61), Array(71), Array(81))

    
    
Windows("p_1_calls_" mydate ".lst").Activate
    Range
("A1").Select
    
    Selection
.Sort Key1:=Range("A3"), Order1:=xlAscendingHeader:=xlGuess_
        OrderCustom
:=1MatchCase:=FalseOrientation:=xlTopToBottom
    Columns
("A:H").Select
    Set myRange 
Range("A1").CurrentRegion
    Columns
("A:A").Select
    Selection
.FindNext(After:=ActiveCell).Activate
    Range
(ActiveCell.Row ":" myRange.Rows.Count).Select
    Selection
.ClearContents
    Range
("A1").Select

<ERRORS OCCUR HERE>

    
ActiveWorkbook.SaveAs FileName:=temp_dir "p_1.txt"FileFormat _
        
:=xlTextCreateBackup:=False
    ActiveWindow
.WindowState xlMinimized