Where is Word?

Cameron Laird claird at lairds.us
Tue Jun 14 17:08:05 EDT 2005


In article <42aecaf8$1 at news.home.net.pl>,
Tomasz Lisowski  <tomlis at notmyisp.pl> wrote:
			.
			.
			.
>import win32com.client
>wordCOMID = "Word.Application"
>
>word = win32com.client.Dispatch(wordCOMID)
>
>Then you can use the methods of the word object, provided by the COM 
>object definition. Unfortunately I don't know them - you may do a 
>research by making a reference to the Microsoft Word type library in 
>Visual Basic, declaring the variable of type Word.Application, and then 
>watching the code assistant showing the available methods and 
>properties. You may also use the object browser.
			.
			.
			.
<URL: http://wiki.tcl.tk/4472 > has still more alternatives.



More information about the Python-list mailing list