Share via


NamedRange.WrapText Property

Definition

Gets or sets a value that indicates whether Microsoft Office Excel wraps the text in the NamedRange control.

public:
 property System::Object ^ WrapText { System::Object ^ get(); void set(System::Object ^ value); };
public object WrapText { get; set; }
member this.WrapText : obj with get, set
Public Property WrapText As Object

Property Value

true if Excel wraps the text in the object; null if the NamedRange control contains some cells that wrap text and other cells that do not wrap text.

Remarks

Excel will change the row height of the NamedRange control, if necessary, to accommodate the text in the range.

Applies to