[python-win32] Fresh excel session

Julien swell at netcourrier.com
Tue Feb 21 14:53:49 CET 2006


Hi,
  I wrote a small app that is able to open a excel ssheet with the win32com 
module. My problem is that it opens the new excel in the current excel session 
( if available ). Is there a way of opening a fresh new excel session with the 
following script and not interferate with my current working session.


import win32com.client

xlApp =  win32com.client.Dispatch('Excel.Application')
xlApp.Visible = 1
xlApp.Workbooks.Add()
xlApp.Close()

Thx



More information about the Python-win32 mailing list