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
 copy part of worksheet in new 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
slooff Posted - 09/07/2009 : 09:07:40 AM
Origin Ver.8 and Service Release 4(

I want to copy 2 columns of a 6 column worksheet into a new worksheet en set the column names of the new worksheet.

Eventually I want to do this three times: first the first two columns, then column 3 and 4 , and so on. Each time in a new worksheet.

Does anybody know how to do that?
I tried with
wksSource.CopyTo(wksTarget, nC1, nC2, nR1, nR2, nDestC1, -1, dwCtrl)
But when compiling I get the message
Error, Variable "CPYT_COPY_COLUMN_FORMAT" not declared

Thanks!!

1   L A T E S T    R E P L I E S    (Newest First)
Iris_Bai Posted - 09/08/2009 : 03:45:51 AM
Hi,

You need to upgrade your Origin to SR6.

About how to upgrade to SR6, you can check for update for clicking Help: Check for Updates in Origin.

Or download the SR6 patch from this page.

http://www.originlab.com/index.aspx?s=9&lm=394&pid=1214


Iris

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