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
 FindMasks: select, delete or alter masked cells

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
AKazak Posted - 07/05/2022 : 07:19:41 AM
OriginPro 2022b (64-bit) SR1 9.9.5.171
Windows 7 Pro SP1 x64

Greetings!

https://www.originlab.com/doc/LabTalk/ref/FindMasks-func helps locating indices of the masked cells. However this does not help getting a range object containing the masked cells to do manipulations, including selecting, deleting or changing values.

What is the proper way of getting a grange object of masked cells in the active worksheet?

Thank you.


---
Andrey
6   L A T E S T    R E P L I E S    (Newest First)
AKazak Posted - 07/11/2022 : 06:44:53 AM
quote:
Originally posted by minimax

I think there is no simple LT scripts, you may try OC codes.



IMHO it is worth adding the facility to LT.
I will look into OC functions, but not sure if I find something useful to referenced the masked cells.

---
Andrey
minimax Posted - 07/11/2022 : 02:14:35 AM
I think there is no simple LT scripts, you may try OC codes.
AKazak Posted - 07/11/2022 : 12:41:05 AM
Can you share an update, please?

Related topic: https://my.originlab.com/forum/topic.asp?TOPIC_ID=8138

---
Andrey
AKazak Posted - 07/06/2022 : 11:42:21 AM
quote:
Originally posted by minimax

yes, basically "mask" in Origin means excluded, and the value is treated as missing value on calculation.



Got it!

How do I use LT to get a range object containing the masked cells to do manipulations, including selecting, deleting or changing values?

---
Andrey
minimax Posted - 07/06/2022 : 05:48:20 AM
yes, basically "mask" in Origin means excluded, and the value is treated as missing value on calculation.
AKazak Posted - 07/06/2022 : 03:12:27 AM
Any ideas?

I discovered that any math operation on the masked cell via LT turns the masked cells to "--". Is this by design or a software bug?


---
Andrey

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