Thanks for the response! I tried your suggestion with the following
results
import win32com.client
x = win32com.client.gencache.EnsureDispatch(Excel.Application)
Traceback (most recent call last):
File input, line 1, in ?
File C:\Python24\Lib\site-packages\win32com\client\gencache.py,
Thanks for your response too! Unfortunately, I must have something messed
up here because this didn't work either.
from win32com.client import Dispatch, constants
print getattr(constants, 'xlHAlignRight', 'Bt!')
Bt!
app = Dispatch('Excel.Application')
print getattr(constants,
On 6/10/2006 11:34 PM, Jim Steil wrote:
Thanks for your response too! Unfortunately, I must have something messed
up here because this didn't work either.
from win32com.client import Dispatch, constants
print getattr(constants, 'xlHAlignRight', 'Bt!')
Bt!
app =
Python 2.4.1
Pywin23 2.10
I'm in the process of upgrading my python to 2.4.3, will send a follow-up
after I'm done testing.
Thanks!
-Jim
Jim Steil
IT Manager
Quality Liquid Feeds
(608) 935-2345
(608) 341-9896 cell
-Original Message-
From: John Machin [mailto:[EMAIL PROTECTED]
Oops, obvious typo on the pywin23 below. Should be pywin32.
-Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Steil
Sent: Friday, October 06, 2006 11:59 AM
To: 'John Machin'
Cc: python-win32@python.org
Subject: Re: [python-win32] Excel
Wow, what a difference all the correct versions make. That fixed my
problem. Thanks for all the help!
-Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Steil
Sent: Friday, October 06, 2006 11:59 AM
To: 'John Machin'
Cc:
Jim Steil wrote:
Thanks for the response! I tried your suggestion with the following
results
import win32com.client
x = win32com.client.gencache.EnsureDispatch(Excel.Application)
Traceback (most recent call last):
File input, line 1, in ?
File
Tim:
I upgraded my Python install from 2.4.1 to 2.4.3 and now it is all working
as I originally expected it should. Thanks for your help in trying to find
the problem.
-Jim
Jim Steil
IT Manager
Quality Liquid Feeds
(608) 935-2345
(608) 341-9896 cell
-Original Message-
From: