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
Repetitive operations
New Topic
Reply to Topic
Printer Friendly
Author
Topic
JonasKlim
Lithuania
36 Posts
Posted - 10/14/2017 : 08:32:14 AM
Hi,
I have written a "X" script to modify worksheet. Now I want to repeat this script on several sheets with known names (let's say SH1, SH2, SH3)without copying the "X" script.
I a way to do this in LT?
Jonas
cpyang
USA
1406 Posts
Posted - 10/14/2017 : 7:02:22 PM
You can use LabTalk functions.
CP
nick_n
Finland
125 Posts
Posted - 10/15/2017 : 11:57:21 AM
Hi,
If your sheets in one book you can use "page.active"
http://www.originlab.com/doc/LabTalk/ref/Page-obj
If your sheets in different books see
http://www.originlab.com/doc/LabTalk/guide/Looping-Over-objs
Best regards,
Nikolay
JonasKlim
Lithuania
36 Posts
Posted - 10/16/2017 : 04:23:02 AM
Hello Nikolay,
http://www.originlab.com/doc/LabTalk/guide/Looping-Over-objs
is exactly what I need.
Thank you for the help again.
Best regards,
Jonas
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Viewer Forum
Origin Forum
Origin Forum for Programming
Forum for Python
LabTalk Forum
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000