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
 LabTalk Forum
 insert a row in a datasheet

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
rebolax Posted - 12/06/2012 : 08:39:56 AM
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!
1   L A T E S T    R E P L I E S    (Newest First)
JacquelineHe Posted - 12/06/2012 : 11:01:43 PM
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

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