Partager via


Range.WrapText Property

Determines if Microsoft Excel wraps the text in the object.

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 Range
Dim value As Object

value = instance.WrapText

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

Property Value

Type: System.Object

Remarks

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

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

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace