Delete channels (by name) in any group

I load a few dozen groups, with some similar (and some unique) channel names.
The first group I load is the template of data I "care" about, and I want to delete all channels in all groups that don't match one of those "template" names. Having issues. Tried multiple solutions.
Dim ChannelTemplate, i
Set MyChannelNames = Data.GetChannels("[2]/*") 'Gather the channel names from Template
i = 1
Set ChannelTemplate = Data.GetChannels(Str(MyChannelNames(i).Name)) 'equal to all channels that meet this name... but it only finds it in this group
Call ChnDelete("*/" &TemporaryString) 'Delete all channels found in the above line

Hello
You might try the code below.   The trick is that you have to delete the highest numbered channel first in the Channel list.
The code below will sort the channel numbers and then delete from the highest number down to the lowest.
Paul
Attachments:
test01.VBS ‏3 KB

Similar Messages

  • "emails to all names in a group"

    When I try to email all the names in a group I've created in my contacts, it will only take the first 3 names in the group.  Is there something else I need to do.  I have 50 names in this group I would like to email all at once.

    This one's easy.
    Your problem is the line:
    if (group of person i = "Email update list") then
    You are checking to see if the 'group of person i' equals "Email update list". This will never, ever match because 'group of person i' will not return a string, it will return a list of group objects.
    Since people can be in multiple groups you're going to get back a list of those groups. In addition, the 'group' object is more than just a name - it's a whole set of parameters.
    So, what you need to do is compare the name of any groups the person is in to see if it matches. Something like this should work:
    if (name of every group of person i) contains "Email update list" then
    In this way you're extracting the names of any groups the person is in and seeing if it matches.

  • Can't delete the Artist Name

    In one of my imported songs (from an LP) I decided that the Artist Name is wrong. I don't know the name, so I just deleted it from the Artist field in the Info window, and clicked Okay. But the name reappears the next time I open the information window. Same thing when I try to delete the Artist Name in list view. I highlight it and hit the delete key, but it comes back as soon as I click out of it. This is the only song on the entire album that does that. I can delete the Artist name on any other song and it stays deleted.

    I just asked a similar question, but in reading your question figured out the answer to mine.  The problem comes from the source being the LP.  Are you running windows?  If so, does the album show up in your music folder?  If so, first delete the song from iTunes. Then click on the song, then "organize," then "properties," then "details", then change whatever you want, then reimport it into iTunes.

  • I still don't see where to DELETE or even add names to established group folders.

    i have just downloaded thunderbird and imported my address book. i want to delete some old group folders and add some names to other old group folders. all the options to delete are greyed out.
    when trying to add a name to a group, i can add it and click ok, but when i go back to it, it isn't there.
    also, a new group i put together is stored under the "personal address book", but will not save into a new group. the folder shows up - twice in fact under the "Mac OSX Address book" with no addresses in either of them...AND, i can't delete them or a few old groups that i no longer want.
    i am a newbie and not that computer savvy, so please no complicated techy instructions. i'd rather you just shoot me.

    For a long time, Thunderbird has had read-only access to the mac address book. ISTR reading that this has changed recently, but as a non-mac user, I can't check for myself. "Read only" means that Thunderbird can't modify the mac address book.
    However, you ''should'' be able to store Mailing Lists in the Personal Address Book. If in general you can't make any changes to an address book, that might indicate the underlying data file is corrupted. The usual way to repair it is to export its contents to an LDIF file, delete the original broken address book, then re-create it by importing from the LDIF file.
    Since the Personal Address Book and Collected Addresses are "special" and hard-coded, you won't be allowed to delete them. To remove either of these, you need to locate your profile folder, close Thunderbird and delete abook.mab for Personal Address Book, and history.mab for Collected Addresses.

  • The album downloaded except one song. It says purchased rather than play and there is no option to try and download the one song that had an error.  I deleted the song name from our library, but it still won't let me download. Any advice?

    The album downloaded except one song. It says purchased rather than play and there is no option to try and download the one song that had an error.  I deleted the song name from our library, but it still won't let me download. Any advice?

    Hi VeryBerry1,
    Welcome to the Support Communities!
    The articles below may be able to help you with this.
    Click on the links to see more details and screenshots. 
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    You can view your iTunes Store account and request assistance by following the instructions below:
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    Cheers,
    - Judy

  • Naming regions by channel strip name isnt working!

    hi.
    i have my tracks to display channel strip name in the text field and when i click a region to name by the channel strip it just says inst1 or audio1 rather than drums or gtr.
    it only works when i have my tracks to name by 'track name'...
    i dont want this as i want my tracks and channel strips to be in sync.
    the key command 'name regions by track name/channel strip' simply doesnt work.
    any ideas?
    thanks

    Hi,
    As usual, as soon as i post a problem in some board, i find the solution myself.
    Although this way isnt really "linuxy", deleting the listener with the netCA tool and adding a new one solved it.
    Regards.

  • TS3899 cannot receive or send email from my hotmail account, refuses to verify server. I have changed my password, deleted the account numerous times, any solutions? all on ios 6.

    cannot receive or send email from my hotmail account, refuses to verify server. I have changed my password, deleted the account numerous times, any solutions? all on ios 6. it was working up until a few days ago and now refuses to load on both my ipad 2 and iphone 4S
    in the process deleted all my contact, very annoying.
    all help is much appreciated.
    interesting that my gmail account does work perfectly.

    this may or may not help - but give it a try.  On a forum some were reporting that talk21 is now under the yahoo umbrella.  below are the steps this use listed.  (This was an android forum, but the email settings should be the same.  In short it looks like their server names have changed.  An existing account may have simply been forwarded - but if you are reinstalling, it may want a clean install to the right servers.)  Pay particular attention to the server names and port settings.  (this thread was started based on a discussion of Imap vs pop - you are already an Imap person - so ignore that part)
    See if this helps.
    why settle for pop3, when IMAP works with talk21 and not only does mail get pushed out faster with IMAP, but when you click refresh it will be received faster than pop3.  The other advantage is subfolders are also supported with IMAP but cant be seen with POP3. This mail feature works with my android eclair & hero phone and the settings are exactly the same for win mobiles also (not tested). The mail setting up roadmap is the same from what i can remember once in the mail feature for win mobi. 
    This is what you need to do to setup Talk21 email with IMAP. 
    Incoming server settings
    IMAP server - imap.mail.yahoo.com
    Port - 143
    Security type - none 
    Outgoing Server settings
    SMTP server - smtp.mail.yahoo.com
    Port - 25
    Security type - none Also important note - Enable 'require sign-in'
    and enter your talk21 username and password The End...works a treat for me p.s. Its only taken me 3 years to work it out with win mobile and recently with android. Finally got it to work...hope this helps all the talk21 users out there. if there are any other similar posts out there with no answer...dont forget to mention my name when passing this post around.

  • Why can't I delete a user name and password from saved passwords in iOS 7?

    Why can't I delete a user name and password from saved passwords in iOS 7? I found them and they are not anything that I am familiar with? They are from a t-com.de. I have been to Germany in the last month. Not sure if there is any association. Any thoughts? 

    You found them ... where?  Are they in Safari somewhere?
    If so, do Settings > Safari > Clear History and Settings > Safari > Clear Cookies and Data
    If that doesn't clear them (and they are from Safari), try Settings > Safari > Advanced > Website Data and clear that area.

  • JDBC Receiver channel is not showing any payloads

    Hello Experts,
    My interface is ABAP PROXY to JDBC i am facing a strange issue in ECC moni payload is succesful in PI moni also Payload is black colour flag but my Receiver JDBC channel is not showing any thing but it is in green colour (it is not showing neither succes nor error messages logs are empty).Sender chaneels are working only problem with receiver JDBC channels
    In DEV and PROD it it is working in QUAL it is showing this problem.I take the restart of QUAL server still it is behaving like that
    Please throw some light on the issue any help is higlhly apprecaited.
    Regards
    Praveen

    Hi,
    first check in pipe line step call technical routing , mapping execution generated JDBC receiver message pay load or not.
    if it is not generated then check mapping , if is is generated then restart the channel and check what communication channel name you given in receiver agreement.
    monitor the same channel, if all JDBC receiver channels have same behavior then restart the JDBC adapter service in NWA.
    rEGARDS,
    rAJ

  • Object Name for Release Group

    All,
    Can anyone please tell me the object name for Release Group ?
    regards

    Hi Sandeep,
    for what you are looking for object name of release group.???
    If you want to add release group in Authorization profile,it is not possible.
    You can add Release code in authorization profile...not release group.
    If you have any specific requirement,please let me know.
    Regards,
    Manish.
    If ans is usefull,don't forget to reward.

  • WCS + can't recreate the 'any' group in ACL template

    ON WCS, I'd like to configure an ACL by using a template.
    When I go to Configure > Controller Template Launch Pad > Security > Access Control > IP Groups,
    we can find, normally,  a group named "any" to use in the rules.
    On one of my WCS, this 'any' group has been deleted.
    It seems impossible to recreate a new one because an IP Adress must be provided in the format [1-255].[0-255].[0-255].[0-255]
    Do you an idea on the way to solve this problem ??
    Herve

    You could try to discover templates from one of your WLC that has the any group.
    Steve
    Sent from Cisco Technical Support iPhone App

  • Change name of Function group?

    How can we change the name of the custom function group which was created by me?
    Is there any change to be done ,after changing the name of function group ,to the function module assigned to the earlier function group??

    Hi,
    goto SE80 --> select funcitongroup and name --> press enter --> you can see object list.
    In object list --> select function group ---> right clik mouse --> and rename the function group.
    Or goto SE37 --> go to function groups --> Change group --> give new name
    Thanks,
    If helps pls award points

  • This past month I have been having problems connecting to my home wireless connection. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of server

    This past month I have been having problems connecting to my home wireless connection. I have a MacBook Pro OSX Version 10.6.8. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of servers and trying to reconnect this way. These methods have worked temporarily, but the same problem keeps coming back. Most of the time my personal wireless connection does not even come up among the list of available networks. My fellow flatmates have PCs and both of them are able to connect to the network without problem.
    The router is a d-link model DIR-615. I am not tech savy, so if any other information need to be provided in order to better understand my situation, please let me know.
    Please help me!

    If I open the list of networks in a window it says "connection timeout," but if I just select it from the drop down it tries for awhile and then stops with no prompt. When I try to run network diagnostics it says "sorry, we can't connect to the internet" (or some solution-free variation of that)

  • How do I permanently remove a name from a group list?

    I would like to permanently remove a name from a group list. I have highlighted and deleted and it still won't go away. I have deleted him from my address book but I cannot remove him from the group list.

    There is the mailing list stored (which addressbook)? Perhaps the addressbook is read-only or unavailable?

  • Delete fields without names

    Hi,
    I am using GuiXT for the first time to enhance some of the screens in our SAP system to make them more user friendly. I am trying to delete most of the fields in the screen ME55 - Collective Release (program: RM06BF00 screen: 1000). The problem is trying to delete multiple fields on the one line from the screen eg: Document Type has 2 selection fields and a multiple selection box. I have tried using: DEL [Document Type] "-Triple" but this does not delete all of the line; it leaves 1 field and the multiple selection box. Can you advise?
    Thanks,
    Rathul.

    Hi,
    There are several ways to delete fields without names:
    (1) you use direct coordinates:
    // delete pushbutton in "document type" line
    del #[11,78]
    I would avoid this possibility, since any changes in the ABAP report could change the position of this button as well
    (2) you use relative positions with respect to [Document type]:
    // delete pushbutton in "document type" line
    del [Document type]+(0,78)
    This is much better, since the vertical position (column) of the button does not change, if more or less parameters are defined in the report.
    (3) You delete the whole line
    // delete line containing the "document type" selection
    del [Document type] [Document type]+(0,100)
    This is fine if you really want to delete the whole line.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

Maybe you are looking for