Delete a range of data in the worksheet
BOOL DeleteRange( int nRowBegin, int nColBegin, int nRowEnd, int nColEnd, BOOL bInsertNotDelete = false, BOOL bUndo = false )
TRUE for success, otherwise FALSE
// Delete a range from a worksheet - rows after last deleted row move up in the worksheet
WorksheetPage wp = Project.WorksheetPages(0);
return (int)wks.DeleteRange(0,0,4,1); // Delete five rows of first two columns
Delete a range of data in the worksheet.
WARNING! range's data also be deleted.