Hi,
I guess what you are looking for is a command we called Set as Long Name.
The following script will do the job:
doc -e LW // Loop all worksheets in active workbook
{
worksheet -s 0 1 0 1; // Select first row
wks.SetAsLabel(L,-1,0,0); // Set as Long Name and
// remove first row after
}
Give it try.
Regards!
Sean
OriginLab Tech. Service