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
 LabTalk Forum
 Copy a column value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

YC.Lai

Taiwan
3 Posts

Posted - 05/04/2016 :  02:31:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi
I use origin 9.1

I want to copy column(A) form book1, then paste to other workbooks as column (A).

What should I do ?
Thanks for any suggestions.

YC.Lai

SeanMao

China
288 Posts

Posted - 05/04/2016 :  04:02:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

If you mean manually, you can right click to select Copy Columns to the use hunt button to select the destination column you want to paste to.

If you want to do it using LabTalk, you can check out the "colcopy" X function:

http://www.originlab.com/doc/Origin-Help/copy-columns

Regards!

Sean

OriginLab Tech.
Go to Top of Page

YC.Lai

Taiwan
3 Posts

Posted - 05/06/2016 :  03:58:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Thanks for the suggestion. colcopy function seems to be what I need, however some how it doesn't work as I thought.

I have chosen three destination columns (will be as many as 50 column (A) in each books) but only one column has been replaced by the copied content.

I'm not sure which part I did wrong, thanks for your helps again!
Go to Top of Page

SeanMao

China
288 Posts

Posted - 05/10/2016 :  03:09:51 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I tried a simple case to copy the two columns in Book1 sheet1 to Book2 sheet1 and it works well:

colcopy -r 2 irng:=[Book1]Sheet1!1:2 orng:=[Book2]Sheet1!1:2;


I am not sure what goes wrong on your side. If problem persists, can you pls explain in more details?

Thanks!

Sean

OriginLab Tech.


quote:
Originally posted by YC.Lai

Hi,

Thanks for the suggestion. colcopy function seems to be what I need, however some how it doesn't work as I thought.

I have chosen three destination columns (will be as many as 50 column (A) in each books) but only one column has been replaced by the copied content.

I'm not sure which part I did wrong, thanks for your helps again!

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