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
 Origin Forum
 inserting lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

huecker

USA
Posts

Posted - 01/30/2004 :  2:35:59 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Does anybody know how to insert several new lines at once in a worksheet? (I know how to insert a single new line and how to insert a single or several new columns. However, it seems to be impossible to insert several new lines.) Thank's
Markus

Mike Buess

USA
3037 Posts

Posted - 01/30/2004 :  5:05:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you want to insert rows between existing rows you can call the Insert menu command with menu -e menuID. menuID may depend on your Origin version number, so here's how to find out what it is for your version...

1. Open script window.
2. Select a row in a worksheet.
3. Press Control+Shift and select Edit->Insert.
4. Menu id=36441 appears in script window in Origin 7.5.

Therefore, to insert 3 new lines at row 5 in Origin 7.5 you can do this...

wo -s 0 5 0 5; // select row 5
repeat 3 {menu -e 36441};

Mike Buess
Origin WebRing Member
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