PasteOptions to preserve formatting of Word 2000 document

  • Thread starter Ram Kumar Karnataka
  • Start date
R

Ram Kumar Karnataka

Hi,
I'm using Word Automation to generate word document which can be opened in
Word 2000
or higer versions. I'm using Visual Studio .NET 2005 and the word 2000
related OLB, dlls to achieve this.
I'm trying to generate a master word document which is formed from 1 or more
small word documents.
The problem i'm facing is Word 2000 doesnt provide the "Paste Options" to
preserve formatting
from the source document when we copy & paste into the master document.
This can only be achieved using Word 2003. Paste Special feature in Word
2000 also not helping me to preserve all formats/styles
from the source document. Source document will be always .RTF file.
Please let me know whether there is any work around for this problem in Word
2000.

i tried all the following approaches :

1) _Application.Selection.Range.Paste(); to paste the content into the
master document,
2) Application.Selection.InsertFile to insert small word document into the
master document,
3) _Application.Selection.PasteSpecial and the parameter for DataType i
used is WdPasteDataType.wdPasteRTF.


None of them provided the intended results.


If anyone can help me in this regard, i'll be very much thankful.


Thanks in advance,

Best Regards,
Ram.
 

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