Why constants from wincom32 does not work with Excel 2007?

15 views
Skip to first unread message

Ning

unread,
Jun 17, 2009, 5:22:25 AM6/17/09
to python-excel
I have imported constants from the win32com

from win32com.client import Dispatch, constants

However, I am not able to use it and always show the AttributeError:

For example
constants.xlLogarithmic
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)

Is that because I am using Excel 2007?

Ning

John Machin

unread,
Jun 17, 2009, 6:00:06 AM6/17/09
to python...@googlegroups.com

AFAIK the required voodoo incantations don't vary by which library you
are using. Have you run makepy on the Excel 12 library?

Reply all
Reply to author
Forward
0 new messages