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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?