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
 Forum for Origin C
 set column label to worksheet label

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
slooff Posted - 08/29/2006 : 08:04:52 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System:Windows 2000

Dear all,

I have a worksheet data1 with "25" as the worksheet label. I perform an integration over a column (data1_B) and the result is put into a new dataset (data2_B). Now I want to set the label of column data2_B to be the label ("25") of the worksheet of data1_B.
How can this be done in C?

I tried to rename the worksheet into "25", but only numbers are not alowed as worksheet name.

Thanks for the help.

Lenneke
2   L A T E S T    R E P L I E S    (Newest First)
slooff Posted - 08/30/2006 : 03:55:35 AM
Hi Mike,

Thanks again, it worked perfect. I am realy impressed by the quick and correct reactions on this Origin C forum!

Regards,

Lenneke
Mike Buess Posted - 08/29/2006 : 08:30:31 AM
Hi Lenneke,

WorksheetPage wpg("Data1");
string strLabel = wpg.Label; // Data1 label
Worksheet wks("Data2");
wks.Columns("B").SetLabel(strLabel); // set column label
wks.ShowLabels(); // show column labels

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 08/29/2006 08:36:49 AM

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