Re: [python-win32] [Fwd: Re: Excel advanced find]

2006-02-15 Thread Mark Hammond
> > [code] > > from pythoncom import Missing > > usedRange = xlApp.ActiveSheet.UsedRange > > usedRange.Find('FXN3', Missing, constants.xlValues, > > constants.xlWhole, constants,xlByColumns, > > constants.xlNext, False, False, Missing) > > [/code] > > Whoa -- disrega

[python-win32] [Fwd: Re: Excel advanced find]

2006-02-15 Thread Dan Glassman
Dan Glassman wrote: > Named arguments will work as suggested; this will prevent those > arguments from being presented to the Excel interface at all. You can > also use pythoncom.Missing, which is another way to prevent arguments > from being presented to the interface: > > [code] > from pytho

Re: [python-win32] Excel advanced find

2006-02-15 Thread Dan Glassman
Tim Golden wrote: > [EMAIL PROTECTED] > > | Hello all, > | > | I'm having some trouble on the find function in Excel. A > | simple Find statement works fine, but as soon as I want to > | use an advanced option (xlByColumns) I get an error. > | > > [... snip ...] > > | findcell = > | xlApp.A

Re: [python-win32] Excel advanced find

2006-02-15 Thread Tim Golden
[EMAIL PROTECTED] | Hello all, | | I'm having some trouble on the find function in Excel. A | simple Find statement works fine, but as soon as I want to | use an advanced option (xlByColumns) I get an error. | [... snip ...] | findcell = | xlApp.ActiveSheet.UsedRange.Find('FXN3',None,consta

[python-win32] Excel advanced find

2006-02-15 Thread p.asselman
Hello all, I'm having some trouble on the find function in Excel. A simple Find statement works fine, but as soon as I want to use an advanced option (xlByColumns) I get an error. This is my program: #!/usr/bin/python from win32com.client import Dispatch from win32com.client import constants x

[python-win32] pyHook on Win98; no events

2006-02-15 Thread RayS
To debug pyKeyLogger, I wrote this with pyHook (and compiled with py2exe on Win2K), which prints the ascii codes as expected on Win2K: import pyHook import time import pythoncom def OnKeyboardEvent(event): print event.Ascii def main(): hm = pyHook.HookManager() hm.KeyDown = OnKe

Re: [python-win32] Setting Event of Labview using Python

2006-02-15 Thread Kuner Martin
Hi Devi.   I think it´s not possible what you want. The LV 7.1 help says about events: Use Events for Direct User Interaction Only User interface events occur only when a user directly interacts with the active front panel. In general, LabVIEW does not generate events if you use