On 6/20/05, Hughes, Chad O <[EMAIL PROTECTED]> wrote:
>  
> 
> Is there a module that contains all of the constants for office (for
> example: xlRight, olOpen, and wdMAPI) in the pywin32 Windows extensions?  I
> have created my own modules for these constants but I would rather use the
> pywin32 extensions if possible. 

>>> import win32com.client
>>> excel = win32com.client.gencache.EnsureDispatch("Excel.Application")
>>> win32com.client.constants.xlRight
-4152

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to