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
 How to delete selected columns

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
LF19902001 Posted - 10/16/2014 : 11:06:18 AM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 9
Operating System: Win 7

Description of task:I want to select several columns manually in a worksheet, and then delete them using Labtalk script. My main question is how to get the column number of selected columns using labtalk.

Can anyone help me? Thanks a lot!
2   L A T E S T    R E P L I E S    (Newest First)
LF19902001 Posted - 10/16/2014 : 12:49:14 PM
Hi greg, thank you for your reply! It is very helpful.
greg Posted - 10/16/2014 : 12:30:55 PM
loop(ii,1,wks.ncols)
{
if(wks.iscolsel(ii)) ty Column $(ii) is selected.;
}

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