LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tod Tod is offline
external usenet poster
 
Posts: 13
Default Better way to 'unhang' my workbook

I have some scripts that open workbooks on a server,
updates them by running the workbook's code, then closes
them. They run every day and some run more than once per
day. It works fine until the workbook errors for any
reason. When that happens the workbook pretends to still
be open. There is no instance of Excel open in memory
(Checking Task Manager's Processes tab). The temp file is
there but I can't delete it because of sharing violation.
The only solution is to reboot the server. I'd rather not
reboot the server 2-3 times a day, espcially since I'm
sharing it with someone.

The problem is that there is no error handing yet, in any
of the scripts or VBA code. I'm working on that, and it
should solve my problem. But it's going to take time to
get to them all. In the meantime, could someone offer a
way I can 'unhang' the workbook without rebooting the
server?

tod
 
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
Refresh pivot table in workbook A when changing a cell in workbook gildengorin Excel Worksheet Functions 2 March 17th 09 04:59 PM
Adding a chart to large workbook brings workbook activity to a hal Dale Excel Discussion (Misc queries) 6 December 29th 08 05:50 PM
Macro to copy an image (or picture) from one workbook to a new sheetin another workbook Ruchir Excel Worksheet Functions 1 July 25th 08 07:29 AM
Excel-how to link source workbook to copy of destination workbook D Lynn Excel Worksheet Functions 1 May 29th 08 05:36 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM


All times are GMT +1. The time now is 02:02 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"