Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Creates a new Tool window containing the indicated UserDocument object.
Syntax
object.CreateToolWindow (AddInInst, ProgID, Caption, GuidPosition, DocObj) As Window
The CreateToolWindow method syntax has these parts:
| Part | Description |
|---|---|
| object | An object expression that evaluates to an object in the Applies To list. |
| AddInInst | Required. An add-in instance variable representing an add-in in the development environment. |
| ProgID | Required. String representing the progID of the UserDocument object. |
| Caption | Required. String containing the window caption. |
| GuidPosition | Required. String containing a unique identifier for the window. |
| DocObj | Required. Object representing a UserDocument object. This object will be set in the call to this function. |
See also
- Collections (Visual Basic Add-In Model)
- Visual Basic Add-in Model reference
- Visual Basic language reference
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.