Gasman, I think you may be misunderstanding or I am misunderstanding.
The code I have posted randomly selects a song from a directory and plays it.
If the duration of that song does not exceed the time to play songs for, it randomly plays another song and so it goes on.
In the macro i want, I...