Quote Originally Posted by MartinLiss View Post
Before we go any further, let me ask you if you are sure you are using VB6 rather than a version of VB.Net (Visual Studio). I ask because the sort example your teacher gave you was not VB6.
If you are talking about the Bubblesort code, then it's VBA ! Isn't it ?