HASCATEGORY Function

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

In this article
Version Information
Syntax
Remarks

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: