zoukankan      html  css  js  c++  java
  • 用visual C++ 2008 速成版编写EXCEL程序测试托管程序调用COM组件

    一、新建一个CLR控制台项目

    二、到项目属性的->通用属性->框架和引用里,添加新引用,选择COM,找到EXCEL和OFFICE引用,添加进来:

    按确定,可得

    在源文件里粘贴进如下代码,可编译,运行,细节慢慢研究

    Code
  • 相关阅读:
    leetcode 13. Roman to Integer
    python 判断是否为有效域名
    leetcode 169. Majority Element
    leetcode 733. Flood Fill
    最大信息系数——检测变量之间非线性相关性
    leetcode 453. Minimum Moves to Equal Array Elements
    leetcode 492. Construct the Rectangle
    leetcode 598. Range Addition II
    leetcode 349. Intersection of Two Arrays
    leetcode 171. Excel Sheet Column Number
  • 原文地址:https://www.cnblogs.com/eyye/p/1372158.html
Copyright © 2011-2022 走看看