Applies to |
|---|
The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office. Project type Microsoft Office version For more information, see Features Available by Application and Project Type. |
You can close the active document or you can specify a document to close.
Closing the Active Document
There are two procedures for closing the active document: one for document-level customizations and one for application-level add-ins.
To close the active document in a document-level customization
To close the active document in an application-level add-in
Closing a Document That You Specify By Name
The way that you close a document that you specify by name is the same for application-level add-ins and document-level customizations.
To close a document that you specify by name
Tasks
Concepts