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
 wortksheet

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
bajra Posted - 02/04/2006 : 06:46:42 AM
Origin Version (Select Help-->About Origin): 7.5,6.0
Operating System:xp
Hi
In the worksheet,how can you subtract the values from the whole columns to the last coulmn?
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 02/04/2006 : 10:15:55 AM
It's not clear what you mean by that but I see two possible interpretations:

1. This will subtract the last column from all other columns in the active worksheet...
loop (i,1,wks.ncols-1) {wcol(i) -= wcol(wks.ncols)};

2. This will subtract all other columns from the last column...
loop (i,1,wks.ncols-1) {wcol(wks.ncols) -= wcol(i)};

Maybe one of those solutions will work?

Mike Buess
Origin WebRing Member

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