今天在群里看到有个兄弟问到怎么MFC项目用代码去写入带有上标下标的内容这个问题。我去百度了一下,然后写了个demo
参考博客http://blog.sina.com.cn/s/blog_5432e0220102w6e1.html
- 部分代码
//当前sheet单元格写入上标和下标
void ExcelApi::SetRangeDataSubscript(const int row, const int column, const char* Data, int type)
今天在群里看到有个兄弟问到怎么MFC项目用代码去写入带有上标下标的内容这个问题。我去百度了一下,然后写了个demo
参考博客http://blog.sina.com.cn/s/blog_5432e0220102w6e1.html
//当前sheet单元格写入上标和下标
void ExcelApi::SetRangeDataSubscript(const int row, const int column, const char* Data, int type)