[python-win32] how to automate VB fron python

Tim Roberts timr at probo.com
Wed Jul 23 19:31:06 CEST 2008


Emanuel Sotelo wrote:
> hi, i will like to now if it's posible to automate visual basic and do 
> you do this, i have read that for word you just use  Word.Application 
> same case for excel, but i cant get to find how to run visual basic 
> from python, or from a existing program of VB to use one of he class 
> that i create

This is kind of the inverse of the last question!

Partly, this depends on which version of VB you are using.  Your VB 
program can become a COM server.  Once you do that, your Python code can 
use it, just like Word.Application and Excel.Application.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list