I have seen a lot of code on how to open up an Excel worksheet with a click event on a form, but how do I save the worksheet then close Excel by exiting the Excel application through Excel and not another click event on my form.

I have a form, with a command button, that when clicked opens Excel and brings up a templete worksheet. When I'm done filling in the worksheet I close it by File-Exit or X-Close. This leaves the object, Excel, active.