Hi
I have a work PC with XP 64 bit and a laptop with Win 7 64 bit both running Office 2007.
The below code works perfectly on the Win 7 machine, however on the XP machine while the code runs to completion most of the time sometimes it fails with varying error messages.
I found the reason for the failures to be part way through the code is an Excel routine, which ask Excel to Save, Close then Quit. On the XP machine when I open task manager, I have dozens on Excel instances open. Further if I run the code with task manager open and kill them one by one the code always run through to the end.
I have tried adding taskkill into the code but due to the speed of the process it kills both the running task and the new one that is starting.
Am I missing any patches/add-ins (anything) that will avoid upgrade to Win 7. Is their a smarter way of resolving this?
Thanks in advance
Rob
![]()
Please Login or Register to view this content.
Bookmarks