[python-win32] running an Access VBA procedure fails

mchl gdbt mchlgdbt at hotmail.com
Mon Oct 23 23:08:01 CEST 2006


Hello,

Just quick note to say that I solved my problem.

The code I wrote in my first email, that is,

import win32com.client
AccessAppDB = win32com.client.GetObject("C:\db1.mdb")
AccessAppDB.Run("test","Argument")

works when I makepy on the access library. I guess the dynamic bind isn't 
able to call the run properly, or I am using it wrong.

In any case, my code works now. (Just thought I'd write in how I solved it 
in case someone else looks this problem up in this forum like I did.)

Michaël

_________________________________________________________________
Ready for the world's first international mobile film festival celebrating 
the creative potential of today's youth? Check out Mobile Jam Fest for your 
a chance to WIN $10,000! www.mobilejamfest.com



More information about the Python-win32 mailing list