void ExcelEngine::deleteRows(UINT RowNum) //RowNum:需要删除的行号
{
QAxObject *cell = pWorksheet->querySubObject("Rows(int)",RowNum);//获取选定的行
if ( cell )
{
cell->dynamicCall("Delete()"); //修改所选行
}
}
void ExcelEngine::deleteRows(UINT RowNum) //RowNum:需要删除的行号
{
QAxObject *cell = pWorksheet->querySubObject("Rows(int)",RowNum);//获取选定的行
if ( cell )
{
cell->dynamicCall("Delete()"); //修改所选行
}
}