Quote Originally Posted by shg View Post
Good job. When you fix my mistake, you will never make it yourself.
Well, pondered through this a little yesterday, and a good part of this morning, and I just don't really have any idea what I'm doing. I thought I was on to something with the 0.5 until you told me what that impacts. So after a bunch of Google searching on int rnd functions, I'm getting many results that are for generating numbers, which isn't what I'm doing. I've also seen things about lowbound and highbound statements, I see there's a Ubound statement in this code, but not Lbound, and anything I tried to put together ended up not working . So back to the last value of the code, I tried - 0 instead of + 0 and that seemed to give me everything in my list except the last item. - 1 gives me an "out of range error".
I'm not quite understanding what this last part of the code is doing, so I really have no idea how to proceed.