Hi Blank,
You can create a duplicate worksheet in Origin C using the CreateCopy method, and then you can proceed to delete the rows etc. of the new worksheet object.
The following sample code is from our documentation, and shows how to use the CreateCopy method.
Easwar
OriginLab.
void worksheet_copy()
{
Worksheet wks;
Worksheet wksSource("Data1");
int nOption = CREATE_VISIBLE_SAME;
BOOL bRet = wks.CreateCopy(wksSource, nOption);
out_int("bRet = ", bRet);
}