Forum Discussion

KJ's avatar
KJ
Occasional Contributor
5 years ago
Solved

delete a row in an excel file

I am attempting to use this line of code from a very old post:

oWorkbook.ActiveSheet.Rows(2).Delete;

This doesn't seem to work.  The Test Complete type ahead only contains Cell, CelCount and Row Count.  I simply want to delete one row or a range of rows from an excel file. 

 

Any assistance is appreciated.