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
 Copying column labels

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
isacoff Posted - 12/06/2005 : 5:33:04 PM
Origin Version (Select Help-->About Origin): OriginPro 7.5 SR4
Operating System: Windows XP

Hi,

I would like to copy a data column from an Origin worksheet _along_ with its corresponding Column Label. How do I do this?

Thanks,
Medha
2   L A T E S T    R E P L I E S    (Newest First)
isacoff Posted - 12/06/2005 : 11:13:06 PM
[quote]
Thanks very much, Mike!!
Mike Buess Posted - 12/06/2005 : 6:08:36 PM
Hi Medha,

Doesn't sound like you care about the column names so this will copy the third column (and its label) of Data1 to the last column in Data2...

ii = Data2!wks.ncols; // number of cols in Data2
copy %(Data1,3) %(Data2,ii); // copy col 3 of Data1 to col ii of Data2
%L = Data1!wks.col3.label$; // get col 3 label from Data1
Data2!wks.col$(ii).label$ = %L; // set col ii label in Data2

Mike Buess
Origin WebRing Member

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