Partager via


TextFrame2.DeleteText Method

Deletes the text from a text frame and all the associated text properties.

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

Syntax

'Declaration
Sub DeleteText
'Usage
Dim instance As TextFrame2

instance.DeleteText()
void DeleteText()

Remarks

The associated text properties include Font attributes such as bold, underline, and so on.

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.Excel Namespace