DeleteRange
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
EX1
// Delete a range from a worksheet - rows after last deleted row move up in the worksheet int Worksheet_DeleteRange_Ex1() { WorksheetPage wp = Project.WorksheetPages(0); if(!wp) return -1; Worksheet wks(wp.GetName()); 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.
Worksheet::DeleteCol
origin.h