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 for Programming
 LabTalk Forum
 Set formula programmatically
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jacorem

Italy
8 Posts

Posted - 10/23/2018 :  09:02:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2018b 64bit (b9.5.5.409)
Operating System: win 10 pro

I would like to set a script that fill some column formula (and possibly the relative "before formula script" cell).
This is to better import some data that must be elaborate with additional info that I will lately suply trough a user parameter cell (so I cannot directly compute the values, but I have to inset the formula). Is it possible? If not, do OriginLab state something about adding this feature in a future update?

Thanks,
Jacopo

Jacopo Remondina,
University of Milano-Bicocca (Italy),
Department of Material Science

Chris D

428 Posts

Posted - 10/23/2018 :  09:52:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Take a look at the csetvalue X-Function:
https://www.originlab.com/doc/X-Function/ref/csetvalue



Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

Katti

Norway
13 Posts

Posted - 10/23/2018 :  10:00:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can also use:

// For column B:
col(B)[O]$="your formula";
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