NamedRange::Style Property

 

Gets or sets a Style that represents the style of the NamedRange control.

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

property Object^ Style {
	Object^ get();
	void set(Object^ value);
}

Property Value

Type: System::Object^

A Style that represents the style of the NamedRange control.

The following code example creates a new custom style that displays text vertically and then sets a NamedRange to use this style.

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: