Thanks Jason.
I've tried using the following for my html editor instance which is named article:
CKEDITOR.instances.article.setData( '<p>This is the editor data.</p>' );
But this doesn't seem to work. Please could you give me an example? I forgot to mention the version of HTMLEditor I have is version 2 (if that makes any difference)
Many thanks