原链接:http://www.cnblogs.com/jeet/archive/2004/07/07/22161.html

 

把Excel嵌入winform中,其实在思路的博客与MSDN都有相关的介绍,但所有的文章对于怎么获得载入的excel对象都没有说得太清楚,下面是我写的一个简单控件,用.net framework 1.1+office 2003测试通过。

Embed excel into winform (转)using System;
Embed excel into winform (转)
using System.Collections;
Embed excel into winform (转)
using System.ComponentModel;
Embed excel into winform (转)
using System.Drawing;
Embed excel into winform (转)
using System.Data;
Embed excel into winform (转)
using System.Reflection;
Embed excel into winform (转)
using System.Windows.Forms;
Embed excel into winform (转)
using Microsoft.Win32;
Embed excel into winform (转)
using Microsoft.Office.Interop.Excel;
Embed excel into winform (转)
using ExcelApplication=Microsoft.Office.Interop.Excel.ApplicationClass;
Embed excel into winform (转)
Embed excel into winform (转)
Embed excel into winform (转)
namespace ExcelTest

相关文章:

  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-08-27
  • 2021-08-16
  • 2022-02-26
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-09-23
  • 2021-10-21
  • 2022-12-23
  • 2021-06-07
  • 2021-07-27
  • 2021-10-29
  • 2022-12-23
相关资源
相似解决方案