Name
window.Close([SaveChanges], [Filename], [RouteWorkbook])
Synopsis
Close the window. Closing the last open window for a workbook closes the workbook, so Close has these arguments in the following table that determine what to do in that case:
|
Argument |
Setting |
|---|---|
|
|
True saves changes to the workbook; False abandons changes. Prompts the user if omitted. |
|
|
The name of the file to save the workbook as; default is the current filename. |
|
|
If the workbook has a routing slip attached, True routes the workbook to the next recipient; False does not route. Prompts the user if omitted. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access