Quote Originally Posted by NigeH View Post

However, when I run the code to see what happens, it crashes with no error and I can't seem to work out why

Seems to be looping in the Do Until loop infinitely. Can see the index is not increasing, so added and increment. Had to change - Do Until index = hex.Length - 1