实例介绍
VC MFC操作Excel 20个 源代码合集 有从SQL导出到Execl, 也有从 Execl 导入到 SQL当中,有设置Execl公式的.. 内容比较丰富
【实例截图】
【核心代码】
VC操作Excel20个源代码
└── VC操作Excel20个 源代码
├── 424打开Excel
│ └── OpenExcel
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── OpenExcel.clw
│ ├── OpenExcel.cpp
│ ├── OpenExcelDlg.cpp
│ ├── OpenExcelDlg.h
│ ├── OpenExcel.dsp
│ ├── OpenExcel.dsw
│ ├── OpenExcel.h
│ ├── OpenExcel.ncb
│ ├── OpenExcel.opt
│ ├── OpenExcel.rc
│ ├── res
│ │ ├── OpenExcel.ico
│ │ └── OpenExcel.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 425向Excel写入数据
│ └── WriteExcel
│ ├── Debug
│ │ ├── excel9.obj
│ │ ├── StdAfx.obj
│ │ ├── vc60.idb
│ │ ├── vc60.pdb
│ │ ├── WriteExcelDlg.obj
│ │ ├── WriteExcel.exe
│ │ ├── WriteExcel.ilk
│ │ ├── WriteExcel.obj
│ │ ├── WriteExcel.pch
│ │ ├── WriteExcel.pdb
│ │ └── WriteExcel.res
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── WriteExcel.ico
│ │ └── WriteExcel.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ ├── StdAfx.h
│ ├── WriteExcel.clw
│ ├── WriteExcel.cpp
│ ├── WriteExcelDlg.cpp
│ ├── WriteExcelDlg.h
│ ├── WriteExcel.dsp
│ ├── WriteExcel.dsw
│ ├── WriteExcel.h
│ ├── WriteExcel.ncb
│ ├── WriteExcel.opt
│ ├── WriteExcel.plg
│ └── WriteExcel.rc
├── 426向Excel中插入图片
│ └── InsertImage
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── InsertImage.clw
│ ├── InsertImage.cpp
│ ├── InsertImageDlg.cpp
│ ├── InsertImageDlg.h
│ ├── InsertImage.dsp
│ ├── InsertImage.dsw
│ ├── InsertImage.h
│ ├── InsertImage.rc
│ ├── res
│ │ ├── InsertImage.ico
│ │ └── InsertImage.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 427向Excel中插入艺术字
│ └── ArtLetter
│ ├── ArtLetter.clw
│ ├── ArtLetter.cpp
│ ├── ArtLetterDlg.cpp
│ ├── ArtLetterDlg.h
│ ├── ArtLetter.dsp
│ ├── ArtLetter.dsw
│ ├── ArtLetter.h
│ ├── ArtLetter.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── ArtLetter.ico
│ │ └── ArtLetter.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 428检测单元格中单词拼写
│ └── CheckSpell
│ ├── CheckSpell.clw
│ ├── CheckSpell.cpp
│ ├── CheckSpellDlg.cpp
│ ├── CheckSpellDlg.h
│ ├── CheckSpell.dsp
│ ├── CheckSpell.dsw
│ ├── CheckSpell.h
│ ├── CheckSpell.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── CheckSpell.ico
│ │ └── CheckSpell.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 429将文本文件导入Excel
│ └── TxtToSheet
│ ├── data.txt
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── TxtToSheet.ico
│ │ └── TxtToSheet.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ ├── StdAfx.h
│ ├── TxtToSheet.clw
│ ├── TxtToSheet.cpp
│ ├── TxtToSheetDlg.cpp
│ ├── TxtToSheetDlg.h
│ ├── TxtToSheet.dsp
│ ├── TxtToSheet.dsw
│ ├── TxtToSheet.h
│ └── TxtToSheet.rc
├── 430将Access中数据导入Excel
│ └── AccessToSheet
│ ├── AccessToSheet.clw
│ ├── AccessToSheet.cpp
│ ├── AccessToSheetDlg.cpp
│ ├── AccessToSheetDlg.h
│ ├── AccessToSheet.dsp
│ ├── AccessToSheet.dsw
│ ├── AccessToSheet.h
│ ├── AccessToSheet.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── MYDB.mdb
│ ├── res
│ │ ├── AccessToSheet.ico
│ │ └── AccessToSheet.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 431将SQL Server数据导入Excel
│ └── SQLServerToSheet
│ ├── Database
│ │ ├── excel_Data.MDF
│ │ └── excel_Log.LDF
│ ├── DB.ini
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── SQLServerToSheet.ico
│ │ └── SQLServerToSheet.rc2
│ ├── resource.h
│ ├── SQLServerToSheet.clw
│ ├── SQLServerToSheet.cpp
│ ├── SQLServerToSheetDlg.cpp
│ ├── SQLServerToSheetDlg.h
│ ├── SQLServerToSheet.dsp
│ ├── SQLServerToSheet.dsw
│ ├── SQLServerToSheet.h
│ ├── SQLServerToSheet.rc
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 432将Excel导出到文本
│ └── SheetToTxt
│ ├── Debug
│ │ ├── excel9.obj
│ │ ├── SheetToTxtDlg.obj
│ │ ├── SheetToTxt.exe
│ │ ├── SheetToTxt.ilk
│ │ ├── SheetToTxt.obj
│ │ ├── SheetToTxt.pch
│ │ ├── SheetToTxt.pdb
│ │ ├── SheetToTxt.res
│ │ ├── StdAfx.obj
│ │ ├── vc60.idb
│ │ └── vc60.pdb
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── SheetToTxt.ico
│ │ └── SheetToTxt.rc2
│ ├── Resource.h
│ ├── result2.txt
│ ├── result.txt
│ ├── SheetToTxt.clw
│ ├── SheetToTxt.cpp
│ ├── SheetToTxtDlg.cpp
│ ├── SheetToTxtDlg.h
│ ├── SheetToTxt.dsp
│ ├── SheetToTxt.dsw
│ ├── SheetToTxt.h
│ ├── SheetToTxt.ncb
│ ├── SheetToTxt.opt
│ ├── SheetToTxt.plg
│ ├── SheetToTxt.rc
│ ├── StdAfx.cpp
│ ├── StdAfx.h
│ └── 新建 Microsoft Excel 工作表.xls
├── 433将Excel导出到Access
│ └── SheetToAccess
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── msado15.tlh
│ ├── msado15.tli
│ ├── MYDB.mdb
│ ├── res
│ │ ├── SheetToAccess.ico
│ │ └── SheetToAccess.rc2
│ ├── Resource.h
│ ├── SheetToAccess.clw
│ ├── SheetToAccess.cpp
│ ├── SheetToAccessDlg.cpp
│ ├── SheetToAccessDlg.h
│ ├── SheetToAccess.dsp
│ ├── SheetToAccess.dsw
│ ├── SheetToAccess.h
│ ├── SheetToAccess.rc
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 434431将Excel数据导出到SQL Server
│ └── SheetToSQLServer
│ ├── Database
│ │ ├── excel_Data.MDF
│ │ └── excel_Log.LDF
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── msado15.tlh
│ ├── msado15.tli
│ ├── res
│ │ ├── SheetToSQLServer.ico
│ │ └── SheetToSQLServer.rc2
│ ├── resource.h
│ ├── SheetToSQLServer.clw
│ ├── SheetToSQLServer.cpp
│ ├── SheetToSQLServerDlg.cpp
│ ├── SheetToSQLServerDlg.h
│ ├── SheetToSQLServer.dsp
│ ├── SheetToSQLServer.dsw
│ ├── SheetToSQLServer.h
│ ├── SheetToSQLServer.rc
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 435设置单元格字体
│ └── CellFont
│ ├── CellFont.clw
│ ├── CellFont.cpp
│ ├── CellFontDlg.cpp
│ ├── CellFontDlg.h
│ ├── CellFont.dsp
│ ├── CellFont.dsw
│ ├── CellFont.h
│ ├── CellFont.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── CellFont.ico
│ │ └── CellFont.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 436设置单元格边框
│ └── CellBorder
│ ├── CellBorder.clw
│ ├── CellBorder.cpp
│ ├── CellBorderDlg.cpp
│ ├── CellBorderDlg.h
│ ├── CellBorder.dsp
│ ├── CellBorder.dsw
│ ├── CellBorder.h
│ ├── CellBorder.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── CellBorder.ico
│ │ └── CellBorder.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 437设置单元格文字缩放
│ └── TextShrink
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── TextShrink.ico
│ │ └── TextShrink.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ ├── StdAfx.h
│ ├── TextShrink.clw
│ ├── TextShrink.cpp
│ ├── TextShrinkDlg.cpp
│ ├── TextShrinkDlg.h
│ ├── TextShrink.dsp
│ ├── TextShrink.dsw
│ ├── TextShrink.h
│ └── TextShrink.rc
├── 438单元格长度自动调整
│ └── CellSize
│ ├── CellSize.clw
│ ├── CellSize.cpp
│ ├── CellSizeDlg.cpp
│ ├── CellSizeDlg.h
│ ├── CellSize.dsp
│ ├── CellSize.dsw
│ ├── CellSize.h
│ ├── CellSize.rc
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── CellSize.ico
│ │ └── CellSize.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 439单元格中设置公式
│ └── Expressions
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── Expressions.clw
│ ├── Expressions.cpp
│ ├── ExpressionsDlg.cpp
│ ├── ExpressionsDlg.h
│ ├── Expressions.dsp
│ ├── Expressions.dsw
│ ├── Expressions.h
│ ├── Expressions.rc
│ ├── res
│ │ ├── Expressions.ico
│ │ └── Expressions.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 440拆分单元格
│ └── SplitCell
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── SplitCell.ico
│ │ └── SplitCell.rc2
│ ├── resource.h
│ ├── SplitCell.clw
│ ├── SplitCell.cpp
│ ├── SplitCellDlg.cpp
│ ├── SplitCellDlg.h
│ ├── SplitCell.dsp
│ ├── SplitCell.dsw
│ ├── SplitCell.h
│ ├── SplitCell.rc
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 441合并单元格
│ └── UniteCell
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── res
│ │ ├── UniteCell.ico
│ │ └── UniteCell.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ ├── StdAfx.h
│ ├── UniteCell.clw
│ ├── UniteCell.cpp
│ ├── UniteCellDlg.cpp
│ ├── UniteCellDlg.h
│ ├── UniteCell.dsp
│ ├── UniteCell.dsw
│ ├── UniteCell.h
│ └── UniteCell.rc
├── 442设置筛选列表
│ └── FilterList
│ ├── excel9.cpp
│ ├── excel9.h
│ ├── FilterList.clw
│ ├── FilterList.cpp
│ ├── FilterListDlg.cpp
│ ├── FilterListDlg.h
│ ├── FilterList.dsp
│ ├── FilterList.dsw
│ ├── FilterList.h
│ ├── FilterList.rc
│ ├── res
│ │ ├── FilterList.ico
│ │ └── FilterList.rc2
│ ├── resource.h
│ ├── StdAfx.cpp
│ └── StdAfx.h
└── 443设置超链接
└── Hyperlink
├── excel9.cpp
├── excel9.h
├── Hyperlink.clw
├── Hyperlink.cpp
├── HyperlinkDlg.cpp
├── HyperlinkDlg.h
├── Hyperlink.dsp
├── Hyperlink.dsw
├── Hyperlink.h
├── Hyperlink.rc
├── res
│ ├── Hyperlink.ico
│ └── Hyperlink.rc2
├── resource.h
├── StdAfx.cpp
└── StdAfx.h
65 directories, 345 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论