Sub Test()
Dim wb As Workbook
Dim sPath As String
Application.ScreenUpdating = 0
sPath = ThisWorkbook.Path & "\"
Set wb = Application.Workbooks.Open(sPath & "1.csv")
Application.DisplayAlerts = False
wb.SaveAs Filename:=Environ("userprofile") & "\Desktop\1.xlsm", FileFormat:=xlOpenXMLWorkbookMacroEnabled
Application.DisplayAlerts = True
With Workbooks("1.xlsm")
On Error Resume Next
.Worksheets(1).Columns(1).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
On Error GoTo 0
.Close True
End With
Application.ScreenUpdating = 1
End Sub