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