Hi Fanning,
I wrote a simple code below which might serve your purpose:
doc -ef W {
doc -e LW {
range aa =1[1]:4[500];
del aa;
}
}
//It will loop over all worksheets in all workbooks and delete first 500 rows from column 1 to column 4.
Regards!
Sean
OriginLab Tech Service