0
我将单元格的值作为行和列。如何在excel中查找单元格的范围 - Qt?
Cells(1,10); //1 is row and 10 is column
现在我想确定该单元位置的范围。
J1; //where j is column and 1 is row
有没有可能在QT中找出答案?
我将单元格的值作为行和列。如何在excel中查找单元格的范围 - Qt?
Cells(1,10); //1 is row and 10 is column
现在我想确定该单元位置的范围。
J1; //where j is column and 1 is row
有没有可能在QT中找出答案?
使用对象模型
Cells(5, 3).address(true,true,xlA1)
将返回"$C$5"
感谢亚历克斯。和QAxObject * range = temp_Worksheet-> querySubObject(“Cells(int,int)”,row,col);我通过这种方式获得了细胞的价值。所以我怎么才能得到范围? – Dev 2012-02-02 11:31:16
'range-> dynamicCall(“Address(bool,bool,int)”,true,true,1);' – 2012-02-02 11:51:21
再次感谢。有用。 – Dev 2012-02-02 11:56:47