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
 Origin Forum
 Dividing one col. with other col for all worksheet

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
kngandhi75 Posted - 10/15/2009 : 7:05:36 PM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi Everyone
I have around 100 worksheets in project. I want to divide column(F)with column(C) and put in column(G) I want to do same for all worksheets in the project. Is their any func. or tool.
Any help is appreciated.

Thanks
Naresh
3   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 10/16/2009 : 12:50:51 AM
Hi:

The "doc -e w" command will execute the same script to all worksheets in the project, so, all your worksheets will be changed. There is no GUI to do that.

Thanks
Larry
kngandhi75 Posted - 10/16/2009 : 12:12:44 AM
Thank you for your help. Actually,I know this script. But, My question is: I have around 150 sheets in project, I want to apply for all the sheets at one time so that each sheet will divide col(g)=col(f)/col(c)project window rather than doing for each sheet.It would be great help. I appreciate for your help and time.
Thanks,
Naresh
quote:
Originally posted by larry_lan

Hi:

Run this script in command window.
doc -e w {
	wks.addcol(G); // If there is already a column named G, delete this row.
	col(g) = col(f)/col(c);
}

Please read our LabTalk help for more about scripts.

Thanks
Larry
OriginLab Technical Services

larry_lan Posted - 10/15/2009 : 11:02:36 PM
Hi:

Run this script in command window.
doc -e w {
	wks.addcol(G); // If there is already a column named G, delete this row.
	col(g) = col(f)/col(c);
}

Please read our LabTalk help for more about scripts.

Thanks
Larry
OriginLab Technical Services

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