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 row to new workbook
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Taron

United Kingdom
12 Posts

Posted - 03/31/2014 :  12:15:05 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.6 b70
Operating System: Windows 7

First of all sorry for all of my questions but I am relatively new to Labtalk scripting.

I would like to copy some specific rows from one workbook to another depending on their content.

The problem is that I cannot find a command to copy rows. All copy commands seem to be just usable for columns.

Can anyone tell me how to copy e.g. Row 1 and 3 from a worksheet 1 to a worksheet 2?

lkb0221

China
497 Posts

Posted - 03/31/2014 :  12:50:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can use a loop to copy the data cell by cell.

Or, you can also transpose the worksheet, then rows will become columns. And transpose them back after copying.

Zheng
OriginLab
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