首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ Builder >

在c++ builder中,用excel控件编程,怎么知道excel中有几条行排上写了东西了

2012-03-08 
在c++ builder中,用excel控件编程,如何知道excel中有几条行排上写了东西了如题,在c++ builder中,用excel控

在c++ builder中,用excel控件编程,如何知道excel中有几条行排上写了东西了
如题,在c++ builder中,用excel控件编程,如何知道excel中有几条行排上写了东西了

[解决办法]

C/C++ code
    // 行数    int nRowCount = ExcelWorksheet1->get_UsedRange(1)->Rows->get_Count();    // 列数    int nColCount = ExcelWorksheet1->get_UsedRange(1)->Columns->get_Count(); 

热点排行