function close_excel() OnRunStep ( xlsWorkBook.Save xlsWorkBook.close set xlsWorkBook=nothing ) end function