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
 2 simple questions

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
Selinger78 Posted - 01/21/2010 : 11:31:01 AM
After years I need to use origin (V 6.0) again.
I want to use the worksheet script and have two questions:

1. Is there a simple command to delete empty lines in a specified worksheet (e.g. Data1)?

2. Is the an easy way to change the column names in a specified worksheet (e.g. Data1)?

Best regards,
Selinger78
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 02/18/2010 : 3:26:08 PM
While it might be possible to to come up with a script using the mark command which does what you ask, I recommend upgrading to the latest Origin because there is a rather nasty bug in 6.1 where the mark command sometimes deletes columns.
Selinger78 Posted - 01/22/2010 : 05:32:14 AM
Thanks for the answer!
An addition to my question #1:

Is there a possibility to delete ALL empty rows of a certain worksheet?

Regards,
Selinger78
larry_lan Posted - 01/21/2010 : 8:51:42 PM
1. mark -d command. Such as, deleting row 3 in Data1"

mark -d data1_a -b 3 -e 3

2. worksheet -n colRef newName. For example, rename the 2nd column to "Hello":

worksheet -n 2 Hello;

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