The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Linking Columns in different woksheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Shahram

S. Korea
Posts

Posted - 12/12/2008 :  11:01:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I was wondering how I can link a column in Worksheet1 to column B worksheet2. I tries to use set column value but there is not any worksheet option.

Thanks.

snowli

USA
1398 Posts

Posted - 12/12/2008 :  12:32:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

In Set Column Values dialog, there is a Before Formula Scripts panel. By default it's not shown. You can click double arrow button to the right of OK button.

It supports full Labtalk control. In 8.0, we support range notation for user to specify col/range/worksheet in LabTalk.
Here is what you can do:
1. In Before Formula Scripts, type
range bb=[Book1]Sheet1!Col(B) //define a range variable bb which points col(B) of Sheet1 of Book1 window.
2. Then in edit box behind Col(B)=, type bb.
3. Click OK.
Then that col will be used to fill your current col(B).

BTW, Set Values dialog is moduless, also the dialog title shows the Col in range notation. So if you don't know how to specify the range of col(B) in Sheet1 of Book1, you can click the col(B) title in the Sheet1 of Book1. You will see the notation. E.g. Set Values - [Book1]Sheet1!Col(B).

Write it down. Then click the column you want to set value. Start to use Before Formula Script window and Formula box to specify.

BTW, there are sample formulas under Formula menu in this dialog. You can use it to see some examples.

Thanks, Snow Li
OriginLab Corp.



Edited by - snowli on 12/12/2008 12:35:51 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000