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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 copy part of worksheet in new worksheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

slooff

Netherlands
Posts

Posted - 09/07/2009 :  09:07:40 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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!!

Iris_Bai

China
Posts

Posted - 09/08/2009 :  03:45:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000