Share

CommandCategory.ItemByName Property

Parent Object: CommandCategory

Description

Returns the specified ControlDefinition or CommandBar object.

Syntax

CommandCategory.ItemByName( Name As String ) As Object

Property Value

This is a read only property whose value is an Object.

Parameters

Name Type Description
Name String Input String value that indicates the internal name in this command categories list of the ControlDefinition or CommandBar to return. If a name of non-existent ControlDefinition or CommandBar is provided, an error will occur.

Version

Introduced in version 2023

Was this information helpful?