Connecting Tech Pros Worldwide Forums | Help | Site Map

Microsoft.Office.Interop.Word problem with PasteSpecial()

Newbie
 
Join Date: Aug 2008
Posts: 2
#1: Aug 28 '08
Hi All,

I am developing an application (MS Word Add-In) to facilitate the possibility to copy a certain area in a word and paste in a form of a picture. Currentlt I have managed to do it using the paste data type as Word.WdPasteDataType.wdPasteOLEObject of the Range objects PasteSpecial() method.

The critical problem is that when i copy text with differant colors the picture generated appears with some colors missing. ex - a form of red, green apperas as black.

The color appears exactly when I use the data type as Word.WdPasteDataType.wdPasteHTML or Word.WdPasteDataType.wdPasteRTF. But the problem is that it does not generate in form of an image.

Is the anyone out there who can assist me in this problem..??????

Thanks in Advance.

Familiar Sight
 
Join Date: Jun 2008
Location: Sweden
Posts: 130
#2: Sep 2 '08

re: Microsoft.Office.Interop.Word problem with PasteSpecial()


Hi

You don't give us enugth information, (edit : MS Word Add-In what is that btw??) are you progarmming in Visual studio or something, Visual basic .NET? or in Word?(macros? Word version?

Put thing in the right sub-forum plz, read the sticky, this is the worng place for this question and it's harder to get an ansver here. (move it to .NET or something)
Reply


Similar Software Development bytes