Hi:
Better to use range variables to hold your worksheet and columns. And from Origin 8, we supports multiple worksheets in a workbook. Suppose ief$ and bef$ holds the workbook name and both have one worksheet named "sheet1", you can run:
range ra = [ief$]sheet1!col(b);
range rb = [bef$]sheet1!col(b);
rb = ra;
For more about range notation, please read our LabTalk Programming Help.
Thanks
Larry
OriginLab Technical Services