> > I get the error that xlPrevious is not defined. > If you are using pythonwin, run the COM Makepy utility on Microsoft Excel Object Library. Then you have access to the defined constants as follows.
>>> import win32com.client >>> win32com.client.constants.xlPrevious 2 Hope this helps. Paul -- http://mail.python.org/mailman/listinfo/python-list