大家好!我用一下代码删除excel的一行,怎么不行呢?
mainfrm.excelApp.ActiveSheet.Rows[2].Delete;
编译错误:[Error] Test.pas(159): Undeclared identifier: 'Rows'
请大家帮忙!!