Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Word Interop

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 03 Jul 2007 13:27 GMT
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
Jonathan West - 03 Jul 2007 16:15 GMT
> 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.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.