On Wed, Oct 5, 2011 at 10:30, Tim Roberts wrote:
> Anthony Mpofu wrote:
>>
>> I want to read contents from a word document (source) and insert the
>> contents to the (destination) word document.
>> ...
>> The above solution only copies the text content from the source document.
>> The read content
Anthony Mpofu wrote:
>
> I want to read contents from a word document (source) and insert the
> contents to the (destination) word document.
> ...
> The above solution only copies the text content from the source document.
> The read contents loses the original formating (font size, font type)
> Th
Hi All
I want to read contents from a word document (source) and insert the
contents to the (destination) word document.
I have used the following code:
# Read content from source
word = win32.gencache.EnsureDispatch('Word.Application')
doc = word.Documents.Open("source.doc")
data = word.Documents