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
 Update Worksheet Script with labtalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

sarastokes

11 Posts

Posted - 06/29/2015 :  7:16:33 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 9.1
Operating System: PC

I would like to specify the worksheet script using labtalk. I want to update the worksheet script on 100s of worksheets and would like a faster way than opening the worksheet script dialog box for each individually. The script would just be a simple "run.file(n.txt);" command. I would also like to be able to check the option for running the worksheet script each time a change occurs within a specified range.
Thank you!

SeanMao

China
288 Posts

Posted - 06/29/2015 :  10:47:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can loop over all worksheets in all workbooks and run the same LabTalk script without specifying code for each worksheet manually. You can refer to this page for details:

http://www.originlab.com/doc/LabTalk/guide/Looping-Over-objs

Can you describe in more details about the change you want to monitor?

Regards!

Sean

OriginLab Tech. Service
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