Getting a range as html

Hi

Is there some way to get a range or part of a document as HTML without saving the whole document and then finding the piece I need to get?

Thanks,
Michael

Yes, it can be done using the following trick. Copy all nodes that you want to save as html to a new document, using ImportNode method. Then just save this new document in html format.

Hope this helps,

Thanks very much. I’ll give that a go.