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 |