Excel.dll生成
来源:互联网 发布:黄金比例算法 编辑:程序博客网 时间:2024/04/30 10:52
今天在网上看到了如何生成Excel.dll的方法,经过几次测试,终于成功,保存下来以备后查。具体方法如下:
1、必须安装OfficeExcel
2、有VS编译环境
方法:
1)Office安装目录下找到Excel.exe(Office2003及以上版本)如:C:\Program Files (x86)\Microsoft Office\root\Office16
2)启动VS开发人员命令提示
3)输入以下命令
① cd定位到 C:\Program Files (x86)\Microsoft Office\root\Office16目录(也可以拷贝Excel.exe到其他目录)
②输入命令TlbImp EXCEL.EXE /out:Excel2016.dll,然后回车
则出现提示如下:
D:\Program Files (x86)\Microsoft Visual Studio 14.0>TlbImp EXCEL.EXE /out:Excel2016.dll
Microsoft (R) .NET Framework Type Library to Assembly Converter 4.6.81.0
Copyright (C) Microsoft Corporation. All rights reserved.
TlbImp : warning TI3001 : Primary interop assembly 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C' is already registered for type library 'D:\Program Files (x86)\Microsoft Visual Studio 14.0\EXCEL.EXE'.
TlbImp : Type library imported to D:\Program Files (x86)\Microsoft Visual Studio 14.0\Excel2016.dll
- Excel.dll生成
- 使用Excel的dll生成excel文档
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法 zt
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法
- Excel2003生成Excel.dll的方法(未验证)
- 用C#生成Excel文件的方法和Excel.dll组件生成的方法 选择自 wang8712 的 Blog
- 生成 EXCEL
- 生成Excel
- 生成Excel
- 生成Excel
- 生成Excel
- Excel.dll 导出Excel控制
- excel生成excel语句
- 欢迎使用CSDN-markdown编辑器
- Codeforces Round #334 (Div. 2) 604D Modular Arithmetic(数学+快速幂)
- 找到升华思想的大门和钥匙
- ANSYS 16.2 64位下载 附安装教程
- android TV-Building TV Channels,Developing a TV Input Service
- Excel.dll生成
- 客户端通过Rados模块控制ceph存储集群
- Android 倒计时功能
- 数据库设计原则(转载)
- android minSdkVersion maxSdkVersion targetSdkVersion build target
- EasyRecovery(超级数据恢复软件) v11.1 汉化中文企业版
- Storm常见模式------TimeCacheMap
- 为data盘添加磁盘(asm external)
- 欢迎使用CSDN-markdown编辑器