MFC操作excel

上传者: 18297675 | 上传时间: 2019-12-21 20:32:43 | 文件大小: 3.47MB | 文件类型: rar
MFC操作EXCEL,一个简单的读取写入EXCEL的例子。因为我用的是2016的EXCEL接口,所以低版本的可能会不能直接运行本程序,需要自己导入对应本版的EXCEL接口。

文件下载

资源详情

[{"title":"( 52 个子文件 3.47MB ) MFC操作excel","children":[{"title":"EXCEL-TEST","children":[{"title":".vs","children":[{"title":"EXCEL-TEST","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 45.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Debug","children":[{"title":"EXCEL-TEST.exe <span style='color:#111;'> 9.91MB </span>","children":null,"spread":false}],"spread":true},{"title":"EXCEL-TEST.sln <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"博客地址.txt <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"EXCEL-TEST","children":[{"title":"CWorksheet.h <span style='color:#111;'> 28.57KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.rc <span style='color:#111;'> 11.17KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.h <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"CWorkbooks.h <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false},{"title":"CWorksheets.h <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"DlgProxy.cpp <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"EXCELTEST_h.h <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false},{"title":"CApplication.h <span style='color:#111;'> 80.16KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"EXCEL-TESTDlg.obj <span style='color:#111;'> 165.53KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.tlog","children":[{"title":"link.read.1.tlog <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false},{"title":"midl.read.1.tlog <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.lastbuildstate <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"midl.write.1.tlog <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 133.53KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 82.26KB </span>","children":null,"spread":false},{"title":"midl.command.1.tlog <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 900B </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 896.19KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.log <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"EXCELTEST.tlb <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.obj <span style='color:#111;'> 71.18KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.res <span style='color:#111;'> 1.37MB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.Build.CppClean.log <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"DlgProxy.obj <span style='color:#111;'> 33.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"EXCEL-TEST.APS <span style='color:#111;'> 106.23KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.reg <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"EXCEL-TESTDlg.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"EXCELTEST_i.c <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"CRange.h <span style='color:#111;'> 44.51KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.vcxproj.filters <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"DlgProxy.h <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"EXCEL-TESTDlg.cpp <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"EXCELTEST.rc2 <span style='color:#111;'> 674B </span>","children":null,"spread":false},{"title":"EXCEL-TEST.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"CWorkbook.h <span style='color:#111;'> 46.48KB </span>","children":null,"spread":false},{"title":"EXCELTEST.idl <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"EXCEL-TEST.cpp <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"EXCEL-TEST.vcxproj <span style='color:#111;'> 11.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • enter回车键 :
    首先呢,exe可以用,但是另存为不能使用,写入Excel有没有真的写入源代码打开就是各种问题了,调试了半天,发现有些问题还是没有解决,不知这么多C币,这种东西还是自己写吧。
    2018-09-19
  • yutouwanwan :
    可以进行简单的读写操作
    2018-09-10
  • 悦读格 :
    我是装的office2013,是不是也能用?需不需要重新导入相关的库?
    2018-08-14
  • 山河影满 :
    可以用,可以进行简单的读写操作
    2018-06-08
  • woeser :
    很好用,输入行、列数,就能读出内容
    2017-12-20

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明