Discussion created by arocco on Nov 22, 2010
Latest reply on Nov 24, 2010 by philmorefield
I have a Arcmap toolbar that using VBA runs my model then two macros in Microsoft Access and Word to create mailing labels from the data produced by the model. Im trying to recreate it in python. I got the Access script to work in Pythonwin and idle but as a script in the arcmap tool bar i get a module error. Here is a short version:

import win32com.client as win32
access = win32.gencache.EnsureDispatch('access.Application')
access.Visible = "true"

So it doesnt do the import properly. Im no programmer and new to python so if someone can steer me in the right direction. Thanks