Since you did not put const in your code, I had a compile error. That is fine. Of course you can put Const inside the Sub or just as I showed is fine too. So, that is a non issue now.

Look at the concept in this code. 3 attempts are made. https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx