Free Support Forum - aspose.com

How to close a workbook?

Hello, I'm wondering how to close a workbook so that it can be deleted from the folder it is created in.

In my process I'm creating a workbook and then saving it. I then attach it to an email and send it off. Now I want to delete the original from the folder where I created it but when I try I get an error message saying that the file is locked or still in use.

David