thanks for the tip with the code post.
I've sorted this now, it appeared to be an oddity with passing the URL text to multiple vars and building it piece by piece.
I reduce the steps to 1 build statement and it works
Very happy, thanks again for the tip.
regards
Andy