using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Reflection; using System.Windows.Forms; using Microsoft.Win32; using Microsoft.Office.Interop.Excel; using ExcelApplication=Microsoft.Office.Interop.Excel.ApplicationClass; namespace ExcelTest