Application.Run('имя макроса', .....) //параметры
AppExcel.Run('printTable', SmallInt(departmentID), SmallInt(month), SmallInt(year), sectors, departmentName);