hi Adam, thanks for getting back to me so quickly.
I tried the PasteHTML function as you showed in your previous post, but it gave me the same results that I had when using the ExecCommand function.
Do you have any other things that I could try?
Is it a bug in IE, that it always outputs the current editor page in the beginning before the hash?
Thanks for spending time on this.