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
 How to remove Set Value expressions from the Book

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
VKuznetsov Posted - 12/16/2014 : 09:24:14 AM
Dear all,

My OriginPro version is 9.1 (Home use), windows8 (64 bit)

I need to remove the Set Value expressions (i.e. clear F(x) row) from multiple columns in multiple sheets. Manually it takes enormous amount of time, so I would like to make it in a script, but don't know how to access this option.
Set Value expressions contribute to some bags in x-functions, when instead of a value a formula is redirected.

Thanks in advance!
Volodymyr
4   L A T E S T    R E P L I E S    (Newest First)
VKuznetsov Posted - 12/17/2014 : 04:42:50 AM
eparent, thank you very much.

That is exactly what I was looking for.

Volodymyr
eparent Posted - 12/16/2014 : 2:10:35 PM
The following Origin C code will clear the F(x) cell for all columns, in all worksheets, in all worksheet pages.


int DelAllColFormulas()
{
    foreach(WorksheetPage wp in Project.WorksheetPages)
    {
    	foreach(Layer lay in wp.Layers)
    	{
    		Worksheet wks(lay);
			foreach(Column col in wks.Columns)
			{
				col.SetExtendedLabel("", RCLT_FORMULA);
			}
    	}
    }
	return 0;
}
VKuznetsov Posted - 12/16/2014 : 12:07:52 PM
Hallo Snow,

thank you for your help. However, it does not help while the arrays of data are distributed over hundreds of worksheets.

Volodymyr
snowli Posted - 12/16/2014 : 10:24:09 AM
Hi Volodymyr,

You can ctrl+select F(X) cells and press Delete key to remove corresponding columns' formula.

This will not remove data which is already calculated in the column.

You can highlight those columns and press Delete to remove values.

Thanks, Snow
OriginLab Corp.

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