Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Caption property
Collapse the table of content
Expand the table of content

Caption property

Caption property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

https://msdn.microsoft.com/en-us/library/aa141905(v=office.10) See also         https://msdn.microsoft.com/en-us/library/aa155616(v=office.10) Example         https://msdn.microsoft.com/en-us/library/aa141904(v=office.10) Applies to

Gets or sets the caption for an object.

Version added



object.Caption = stringVal
stringVal = object.Caption


Required. An expression that returns an object in the Applies to list that has or gets the caption.


Required String. The caption of the object.

  • Use & in the string to cause the next character in the string to become the shortcut key for that menu or menu item, For example, the string "F&ormat" causes o to become the shortcut key for that menu item in that one menu.
  • Use "" in the string to display a double quotation mark on the menu.
  • Use && in the string to display an ampersand on the menu.


Visio does not use the Caption property of a MenuSet or ToolbarSet object.

© 2015 Microsoft