Ref. Forum: thread692-90756
The above Thread discusses the issues with running Excel Automation from Access. Basically when Excel is opened ANYTHING the user does to alter Excel "like closing it" causes issues with the automation. More specifically, when the user MANUALLY closes Excel, Access still holds reference to it and therefore the system "hides" the program but leaves it in the processes. When Access tries to open Excel later in the code Excel no longer repaints the screen causing MEGA ISSUES!! The best solution is to fully close Excel and dereference it from Access.
My Issue, I have a database which OPENS Excel, My intend is to LEAVE it to the USER to save close or other. Is there a way to open Excel and dereference it from Access after the automation completes so that Excel can close normally?
The above Thread discusses the issues with running Excel Automation from Access. Basically when Excel is opened ANYTHING the user does to alter Excel "like closing it" causes issues with the automation. More specifically, when the user MANUALLY closes Excel, Access still holds reference to it and therefore the system "hides" the program but leaves it in the processes. When Access tries to open Excel later in the code Excel no longer repaints the screen causing MEGA ISSUES!! The best solution is to fully close Excel and dereference it from Access.
My Issue, I have a database which OPENS Excel, My intend is to LEAVE it to the USER to save close or other. Is there a way to open Excel and dereference it from Access after the automation completes so that Excel can close normally?