[python-win32] MS Word

2006-10-03 Thread Michael S
Good day all. Does anyone have experience in appending multiple word file into one big file? I have a directory full of word files and I want to make one file out of all of them. I tried to google it, in order at least to see it how it's done in VBA, but haven't found any good examples. Michael

Re: [python-win32] Input-only vs. In/Out Function Parameters

2006-10-03 Thread Tim Roberts
Smith, Brian (CR) wrote: After doing some searching on the web, I had (naively?) thought perhaps the answer might be creating a type library that defines the interface. I had gone as far as installing the Windows Platform SDK so I could use midl to compile the library, but ran into a

Re: [python-win32] MS Word

2006-10-03 Thread Gabriel Genellina
At Tuesday 3/10/2006 12:33, Michael S wrote: Does anyone have experience in appending multiple word file into one big file? I have a directory full of word files and I want to make one file out of all of them. I tried to google it, in order at least to see it how it's done in VBA, but haven't

Re: [python-win32] MS Word

2006-10-03 Thread Metz, Bobby W, WWCS
I suggest the following. It may not be the prettiest, but it's very simple. Create new doc... Documents.Add DocumentType:=wdNewBlankDocument ActiveDocument.SaveAs FileName:=Combined.doc, FileFormat:= _ wdFormatDocument, LockComments:=False, Password:=, AddToRecentFiles:= _