using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.Office.Interop.Excel; using System.Reflection;
namespace ExcelDemo { public partial class Form1 : Form { public Form1() { InitializeComponent();
WorkbookClass w = (WorkbookClass)app.Workbooks.Open(@"C:\Documents and Settings\qqq\桌面\002.xls", //Environment.CurrentDirectory+ Missing.Value, Missing.Value, Missing.Value,