Thanks! You're quite right about the superfluos 'Link'-line in the code. But space or puctuation marks in Cset are needed, because the string with http is not an active hyperlink. Unfortunately, Cset:="[ .,:;]" (which I had tried myself before posting) does not work: the line Rng.MoveEndUntil Cset:="[ .,:;]" causes no error but it doesn't cover the whole string. It works only if I use Cset:="[ ,;]". But what about '.' and ':' ?
|