VC ++ Excel编程有关格式化输出? [英] VC++ Excel programing about formatting output?

查看:159
本文介绍了VC ++ Excel编程有关格式化输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我可以使用ADO操作Excel,但是那样我就将Excel视为数据库.
我不知道如何处理数据不规则的Exel.

而且我不怎么处理单元格格式,比如说我希望单元格的背景为红色,字体颜色为绿色等等.

在VBA中编写了有关Excel的MSDN教程.我找不到有关使用VC ++编程Excel的教程.

感谢任何我能得到的帮助!

Now I can operate Excel with ADO, but that way I treat Excel as a database.
I have no idea how to deal with Exel which has irregular data.

And I don''t how to deal with the cell format, say I want the background of cells to be red, and the font color to be green and so on.

The tutorial of MSDN about Excel is wirite in VBA. I can''t find tutorials about programming Excel with VC++.

Appreciate any help l can get!

推荐答案

看看这些:
通过C ++访问Excel电子表格 [如何使用MFC自动执行Excel和导航工作表 [
Have a look at these:
Accessing Excel Spreadsheets via C++[^]
How To Use MFC to Automate Excel and Navigate Worksheets[^]


这篇关于VC ++ Excel编程有关格式化输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆