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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Search names in a column a use them as variable
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JimThieser

10 Posts

Posted - 06/16/2021 :  04:00:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:
Hi,
I would like to scan a column for the existing names in this and then i would like to use the names for filter option.
So i don't know how save each name as variable...

Do you have any ideas?

Thanks

YimingChen

1669 Posts

Posted - 06/16/2021 :  10:37:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try the script close to:

string aa = cell(1,1)$;
wks.col2.filter = 1;
wks.col2.filter$ = x = "%(aa$)"; 
wks.runfilter();


James
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000