T O P I C R E V I E W |
alaudo |
Posted - 07/30/2005 : 08:08:39 AM Origin Version (Select Help-->About Origin): 6.5 Operating System: Win XP
I have datasets where every second column (starting from 3: 3,5,7,9) contains rubbish data. Is there a quick way to remove these columns from dataset?
|
3 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 08/01/2005 : 1:55:41 PM Hi Mickey,
One-time use... 1. Show the script window (Window > Script Window). 2. Select the code in my previous post and copy (Ctrl+C). 3. Place cursor in script window and paste (Ctrl+V). 4. Select code in script window and press Enter.
If you need to use it many times you can run the script from the Custom Routine button. See the final post in this topic... http://www.originlab.com/forum/topic.asp?TOPIC_ID=4043
Mike Buess Origin WebRing Member |
chmickey |
Posted - 08/01/2005 : 1:23:44 PM how to use this codes
thanks mickey |
Mike Buess |
Posted - 07/30/2005 : 09:07:23 AM for(i=2;i>1;i++) { if( i>=wks.ncols ) break; del wcol(i+1); };
Mike Buess Origin WebRing Member |