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
 LabTalk Forum
 Wrcopy X-function doesn't work

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
Loksley Posted - 03/16/2009 : 04:47:01 AM
Origin Ver. : OriginPro 8 Sr4
Operating System: Xp Sp2

I discovered the Wrcopy X-function at this address:
http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:Wrcopy
and even when I use the given example:

wrcopy iw:=[book1]sheet1! r1:=5 r2:=10 name:=12 ow:=<new>;


I get the following message:
#Command Error!

Any idea?

Ps :I knew the X-function wcopy instead of wrcopy but it doesn’t take the row option (or I didn’t succeeded to get this option).
3   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 03/16/2009 : 07:59:58 AM
I just tried in SR4 and found wrcopy does not compile. It made use of a new Origin C method in the Worksheet class called "CopyTo".

So you have to wait for SR5 to use this new XF. It was developed for copying data from Excel(open in Origin) as it has the option to specify a row to get as long name as well. So you can use this XF to run Pivot table in Excel book and get the results to Origin sheet.

CP
Loksley Posted - 03/16/2009 : 07:48:30 AM
Thanks for the news.

I check with the lx command and wrcopy is not found on Sr4 version.
cpyang Posted - 03/16/2009 : 07:32:50 AM
You can use

lx w*

to list all the XF installed. I think wrcopy is a new XF and not in SR4. We will release SR5 this or next week and it should be there.

You can also contact Tech Service and they can check and email that XF to you. If an XF does not need any SR5 feature, then it can be drag and drop to install to SR4. Later, SR5 patch will automatically clean up that temp installation (by asking you first).


CP

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