Description

Find an McCommandBarControl derived object using specific attributes.

Return Type

A McCommandBarControl object.  

Syntax

object.FindControl ([Type], [ID], [Tag], [Visible])

The FindControl Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McCommandBars.
TypeOptional. A Variant value.

Control type, reserved for future use.

IDOptional. A Variant value.

A globally unique id used to find the control.

TagOptional. A Variant value.

User defined value, Reserved for future use.

VisibleOptional. A Variant value.

Specify whether the controls should be visible or not, reserved for future use.

Remarks

The ID based lookup is the only algorithm currently implemented.