but I can only remove 1 value (the first one found).
Please explain and show what the problem is.
In removing items from a list it's better to start at the end of the list and move forward. That keeps the front of the list unchanged as you move into it.
The way you are doing it is sort of like sitting on a tree branch and sawing it off between you and the tree.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656