共用方式為


OfficeRibbon.Load Event

Occurs when the OfficeRibbon is loaded into the Microsoft Office application.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Event Load As RibbonUIEventHandler
event RibbonUIEventHandler Load

Remarks

The Load event handler is automatically added to the Ribbon code file. Use this event handler to run custom code when the Ribbon loads.

.NET Framework Security

See Also

Reference

OfficeRibbon Interface

Microsoft.Office.Tools.Ribbon Namespace