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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top