Explore BrainMass

Using VBA in Excel, Open and Close an .XLS file and End Process

Environment: Win2K, Work2000

Attached Word document has an OpenXL and a CloseXL VBA subroutine.

Open the Task Manager.
Click the OPENXL and notice (in the Task Manager) that the Excel process is created.
Click the CloseXL and notice(in the Task Manager) that the Excel process DOES NOT GO AWAY.

[Granted, if you close Word document, the process terminates, but I need to kill the process BEFORE closing Word (presumably using a slightly improved VBA subroutine).]

© BrainMass Inc. brainmass.com July 23, 2018, 12:09 am ad1c9bdddf


Solution Summary

The solution assists with answering the question using VBA in Excel.