using Excel = Microsoft.Office.Interop.Excel; private void ExcelFilePrint(string fileName) { Excel.Application excelApp = new Excel.Application(); // Open the Workbook: Excel.Workbook wb = excelApp.Workbooks.Open( fileName, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.M..