|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Close Workbooks
Some code examples in this topic use the this or Me keyword or the
This example demonstrates themethod, which you can use to close the specified , optionally specifying whether changes should be saved. If the Workbook has never been saved, you can specify a file name. In addition, if the Workbook is to be routed to other users, you can specify whether you want to send the Workbook on to the next user.