View Single Post
  #11 (permalink)  
Old 01-20-04, 11:31
Craig Silberman Craig Silberman is offline
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks for the try, but...

Thanks for the code to try, but it didn't work. Adding the close statement (which I had already tried a few variants of) did no good - although excel is closed, it remains open in task manager. This causes some problems as you run the code a few times (you build up applications open and taking up menu, as well as causing some problems in the operation of the code on occasion).

Adding the rest of the code you suggested caused an endless loop. The contents of myOpenWorkbook was always "" and myWorkbooks was always 0. This is because for all intents and purposes, Excel is closed as far as Access is concerned.

Anyone have any other suggestions?

Thanks,
Craig Silberman
Reply With Quote