I'm looking for a way in VBA to realize a permutation based from two columns. I tried with Ubound but it failed What is the better way to write an efficient code for a large file ?
The default DATA is like that
And the final result that I'm looking for :

