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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Repetitive operations

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
JonasKlim 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
3   L A T E S T    R E P L I E S    (Newest First)
JonasKlim 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
nick_n 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
cpyang Posted - 10/14/2017 : 7:02:22 PM
You can use LabTalk functions.

CP

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000