Use the below code in invoke code.
Then pass your input file in in_Path argument in invoke code activity
Dim excel As Microsoft.Office.Interop.Excel.Application
Dim wb As Microsoft.Office.Interop.Excel.Workbook
Dim ws As Microsoft.Office.Interop.Excel.Worksheet
excel = New Microsoft.Office.Interop.Excel.Application
wb = excel.Workbooks.Open(in_Path)
excel.Visible = False
ws = CType(wb.Sheets(“Sheet1”), Microsoft.Office.Interop.Excel.Worksheet)
ws.Activate()
wb.Save()
wb.Close()
excel.Quit()