Word Interop

C

Chris

Hi,

I will insert RTF-Content in an office word document programmatically
by using word interop assembly (and using c#).
Is that possible ? How can I do that ? code snippets would be helpful.


Thanks in advance,

Chris
 
J

Jonathan West

Chris said:
Hi,

I will insert RTF-Content in an office word document programmatically
by using word interop assembly (and using c#).
Is that possible ? How can I do that ? code snippets would be helpful.


The only way of inserting formatted text into a Word document is by placing
it on the clipboard and then using the Paste method to place it in the
document at the appropriate place.

Placing formatted text onto the clipboard isn't something I can help with -
I don't know C#. The Paste method is trivial - look it up in the VBA help.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
Top