Action::BeforeCaptionShow Event

 

Occurs after the user clicks the smart tags icon, and before the smart tag menu is displayed.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

event BeforeCaptionShowEventHandler^ BeforeCaptionShow {
	void add(BeforeCaptionShowEventHandler^ value);
	void remove(BeforeCaptionShowEventHandler^ value);
}

This event gives you an opportunity to change the smart tag caption based on context.

The following code example demonstrates a handler for the BeforeCaptionShow event. The event handler modifies the menu caption of the action. This code example is part of a larger example provided for the Action interface.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: