(Sorry for this late reply, but firstly I had to find a CC2018 to save the project as CC2015…)
Kalleheikki Kannisto, many many thanks for your elegant solution: I can’t even imagine how difficult it was to solve, but I consider it a priceless gift…
As I said before, I usually try to find answers without directly asking, but this time I couldn’t find anything that could fit.
I hope your brilliant solution can help other people in the future.
Special thanks to you and to all the smart people in this community!
Greetings
Alessandro