Groups to Subs macro

Hey everybody!

A colleague of mine likes to set up his shows by first creating groups. After that, he takes his first groups, and puts them on submasters. Right now, this is a proces that takes quite some time, and is prone to mistakes. I'm trying to build a macro that lets me automate this proces. What i've got so far is this:

This seems to work. It's giving me 9 good subgroups. However, there is a problem as soon as I reach sub number 10. Sub 10 also contains the channels in group 9. This is the same for sub 11, 12 and 13.

Just to clarify:

Sub1: Group 1

Sub 2: Group 2

Sub 9: Group 9

Sub 10: Group 9+10

Sub 11: Group 9+11

 

Hopefully, there is someone here that spots the flaw in my logic!

 

Also, for bonuspoints, is there a way to copy te Group-labels over to the Sub-labels?

 

Thanks a lot!

 

CJ

Parents Reply Children
No Data
Related