Share via


CellFormat.WrapText Property

True if Microsoft Excel wraps the text in the object. Returns Null if the specified range contains some cells that wrap text and other cells that don’t.

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

Syntax

'Declaration
Property WrapText As Object
    Get
    Set
'Usage
Dim instance As CellFormat
Dim value As Object

value = instance.WrapText

instance.WrapText = value
Object WrapText { get; set; }

Property Value

Type: System.Object

Remarks

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

See Also

Reference

CellFormat Interface

CellFormat Members

Microsoft.Office.Interop.Excel Namespace