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
 Using template for existing worksheet

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
shafei Posted - 10/22/2012 : 7:22:16 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.6
Operating System:WIN 7

I have a template that would like to use it for several worksheets. One approach is to click on template library, choose a the template and click on "new window", and then copy data from existing worksheet and paste it in the template worksheet. However, what if I want to impose the template on the original worksheet, without any need to open a new worksheet and copying the data. Is there any way to do that?
3   L A T E S T    R E P L I E S    (Newest First)
JessieWoo Posted - 10/23/2012 : 03:44:01 AM
Hi Shoresh,

In this case, you can try Batch Processing.
1. Save your template as analysis template. (File: Save Workbook as Analysis Template).
2. Select “File: Batch Processing…”.
3. Set “Analysis Template” as the template saved in step 1.
4. Set Data Source as “Use Existing XY Datasets”.
5. Click the right-triangle button at the end of Input section, select “Select column…” from the context menu.
6. Add the columns containing your data.
7. Click OK.
It will generate new workbooks with data processed using your template. You can open your data worksheets in one folder and then do batch processing in another folder, in case you want to quickly delete the data worksheets after processing.

The link below is a tutorial link for batch processing:
http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Batch_Processing


Best Regard,
Jessie
Originlab Corp.
shafei Posted - 10/23/2012 : 01:36:37 AM
Hi Jessie,
It is not all about format. I have data in the first three column, that I use to calculate other parameters in fourth column, etc. Then I pick two column with error bars and fit polynomial. I then save the worksheet as a template.
I want to use this template to existing worksheets. Is there any way except copy and pasting data?
Thanks
Shoresh
JessieWoo Posted - 10/23/2012 : 01:26:10 AM
Hi shafei,

I am not sure whether there are special settings in your template. If just settings on format, you can try using theme organizer to apply all format on the data worksheets.
Steps as follow:
1. Type @wef=1 in the script window, and press ENTER. (@wef is use to control Worksheet Edit Format menu showing or not, default value is 0)
2. Use the template to new a worksheet.
3. Right click on the empty space of the template worksheet, and then select "Edit Formatting…" from the context menu to bring up the Worksheet Theme Editor dialog.
4. Click "Save As…" to create a theme.
5. Open your data worksheets.
6. Press F7 or select "Tools: Theme Organizer".
7. In the Worksheet tab, select the new theme, and then select an option in "Apply Theme to". Click the "Apply Now" button to apply the theme to data worksheets.

Best Regard,
Jessie
Originlab Corp.

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