Table of contents
Collapse the table of content
Expand the table of content

CreateToolWindow Method

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Creates a new Tool window containing the indicated UserDocument object. Syntaxobject. CreateToolWindow (AddInInst, ProgID, Caption, GuidPosition, DocObj) As Window The CreateToolWindow method syntax has these parts:

objectAn object expression that evaluates to an object in the Applies To list.
AddInInstRequired. An add-in instance variable representing an add-in in the development environment.
ProgIDRequired. String representing the progID of the UserDocument object.
CaptionRequired. String containing the window caption.
GuidPositionRequired. String containing a unique identifier for the window.
DocObjRequired. Object representing a UserDocument object. This object will be set in the call to this function.
© 2018 Microsoft