LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default break into an invisible instance of Excel

I've been running a scheduled task at night that involves opening an Excel
workbook and running some code. For some reason, although the task runs and
the code does its job, Excel is left hanging. It's invisible (unsurprisingly
as it was run by the scheduler) which means I can only see it listed in the
Processes tab of the Task Manager.

I've done some debugging using lines that write to a log file but haven't
managed to identify the problem. Does anyone know of a way to make a
reference to the hidden hanging instance of Excel so I can then have a look
at it?

(I've been looking at some API calls to find the window handler but can only
seem to return 0 or the handler of a new instance of Excel.)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Page Break Adjustments causes a page break each cell BKaufman Excel Worksheet Functions 2 September 10th 10 05:02 AM
How do I get one instance of Excel to communicate with another instance? [email protected] Excel Programming 3 November 21st 06 10:31 PM
In excel, why do web links become invisible? Terry Excel Discussion (Misc queries) 0 March 18th 06 05:15 PM
excel document is invisible keysey Excel Discussion (Misc queries) 2 December 13th 05 08:05 AM
Excel Workbook Invisible Ai Excel Programming 3 May 17th 04 05:09 PM


All times are GMT +1. The time now is 06:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"