Share
Explore BrainMass

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

Environment: Win2K, Work2000

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

Procedure:
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).]

THANKS!

Attachments

$2.19