Expand Minimize

NamedRange.WrapText Property

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

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

Object WrapText { get; set; }

Property Value

Type: System.Object
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.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft