Mike Buess
USA
3037 Posts |
Posted - 01/30/2004 : 5:05:35 PM
|
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 |
 |
|