Excel Automation: How to Status Excel? (Is it Open?, Closed?)



I have an automation program that automates 2 different 3rd party
programs: 1) Windows Neural Network S/F, and 2) Excel.

Windows is easy. I just manage window handles. If the handle exists,
the window exists; if the handle does not exist, the window does not
exist.

For Excel, I thought I would watch the EXCEL.EXE process, however,
this is not useful because this Process may or may not exist when the
application is Quit, Unassigned, and FreeAndNil'd.

I could simply watch the EXCEL window handle.

Any suggestions?

Thanks in advance,
Tom
.



Relevant Pages

  • Re: C# Aplpication talking to Excel Add-In
    ... to have with Excel, I need to write a method in the "middle layer" that ... > You may consider embedding the workbook in the form itself. ... a managed window will ultimately map to a native OS window ... > management of an application's windows from outside the application. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: hide name box
    ... Excel 2007 has this capability but I was working in Excel 2002. ... ' Enables or disables a window. ... (ByVal hwnd As Long, _ ... Private Declare Function GetDesktopWindow Lib "user32" As Long ...
    (microsoft.public.excel.programming)
  • Re: Option-click to insert row?
    ... look in help for customizing shortcut keys. ... long before Excel 4) it worked this way. ... shortcut to "Insert cell, shift down", a potentially destructive ... bring this window to front while hiding the previous active ...
    (microsoft.public.mac.office.excel)
  • Re: C# Aplpication talking to Excel Add-In
    ... not change the default behavior of Excel which may cause other problem. ... You may consider embedding the workbook in the form itself. ... a managed window will ultimately map to a native OS window ... We'll build a managed user control to host Excel's main ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Float a window over sheet
    ... If you're using Excel 2002, or later version, you can use the Watch ... Choose Tools>Formula Auditing>Show Watch Window ... To go to a watched cell, double-click its name in the watch list. ...
    (microsoft.public.excel.programming)