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
 insert a row in a datasheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rebolax

4 Posts

Posted - 12/06/2012 :  08:39:56 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.6
Operating System:XP

Hi,
I have a workbook with a certain number of columns and rows.
I would add at the end, another row with the data;
(I thought to create the original row for example with: NewSheet cols: = +1, col (1) = x; wtranspose;)
The question is: Is there a script that allows me to do this?
Or simply insert first a new row and after the data?

thanks!

JacquelineHe

287 Posts

Posted - 12/06/2012 :  11:01:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

If you want to add a new row in the end of active worksheet, you can try to use this script:
int nn=wks.nRows;
wks.nRows = nn+1;

Thanks

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