$excel = CreateObject OLE "Excel.Application"; $workbook = $excel -> Workbooks -> Open(file name); $workbook->PrintOut();