Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, October 06, 2006 12:27 PM To: 'Python-Win32 List' Subject: Re: [python-win32] Excel win32com newbie question Jim Steil wrote: >Thanks for the response! I tried your suggestion with the follo

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Tim Roberts
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 "", line 1, in ? > File "C:\Pyt

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
thon-win32@python.org Subject: Re: [python-win32] Excel win32com newbie question 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 -Original Message- From: John Machin [mailto:[EM

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
-- From: John Machin [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 10:52 AM To: Jim Steil Cc: python-win32@python.org Subject: Re: [python-win32] Excel win32com newbie question On 6/10/2006 11:34 PM, Jim Steil wrote: > Thanks for your response too! Unfortunately, I must have something m

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
PROTECTED] Sent: Friday, October 06, 2006 10:52 AM To: Jim Steil Cc: python-win32@python.org Subject: Re: [python-win32] Excel win32com newbie question On 6/10/2006 11:34 PM, Jim Steil wrote: > Thanks for your response too! Unfortunately, I must have something messed > up here because

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread John Machin
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 = Disp

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
Machin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 05, 2006 6:04 PM To: Jim Steil Cc: python-win32@python.org Subject: Re: [python-win32] Excel win32com newbie question On 6/10/2006 7:16 AM, Jim Steil wrote: > I've been working this week building some Excel spreadsheets using > Py

Re: [python-win32] Excel win32com newbie question

2006-10-06 Thread Jim Steil
, ^ SyntaxError: invalid syntax >>> Any ideas from here? -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Thursday, October 05, 2006 6:06 PM To: Python-W

Re: [python-win32] Excel win32com newbie question

2006-10-05 Thread Tim Roberts
Jim Steil wrote: > I’ve been working this week building some Excel spreadsheets using > Python and win32com. ... > > Possibly my biggest problem is that I can’t get my machine to give me > the Excel constants. Here is the code I’m doing to try to test the > constants and the error I’m getting back

Re: [python-win32] Excel win32com newbie question

2006-10-05 Thread John Machin
On 6/10/2006 7:16 AM, Jim Steil wrote: > I’ve been working this week building some Excel spreadsheets using > Python and win32com. I am not having any trouble getting my sheets > built with the proper data in the proper cells, but I’m having a heck of > a time trying to find out how I can forma

[python-win32] Excel win32com newbie question

2006-10-05 Thread Jim Steil
I’ve been working this week building some Excel spreadsheets using Python and win32com.  I am not having any trouble getting my sheets built with the proper data in the proper cells, but I’m having a heck of a time trying to find out how I can format my cells to make it look nicer.  I want