Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

HASCATEGORY Function

Returns TRUE if the specified string is found in the shape's category list.

Version Added: Visio 2010

HASCATEGORY(category)

Parameters

Name

Required/Optional

Data Type

Description

category

Required

String

The category to search for.

Return Value

Boolean

Categories are user-defined strings that you can use to categorize shapes. You can define categories in the User.msvShapeCategories cell in the ShapeSheet for a shape. You can define multiple categories for a shape by separating the categories with semi-colons.

Show:
© 2015 Microsoft