Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CommandBarButton interface

Represents a button control on a command bar.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)
public interface CommandBarButton : _CommandBarButton, 

Use Controls(index), where index is the index number of the control, to return a CommandBarButton object. (The Type property of the control must be msoControlButton.)

You can also use the FindControl method to return a CommandBarButton object.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.