EditClear Method
Clears the selected cells.
Syntax
expression**.EditClear(Contents, Formats, Notes, Hyperlinks)**
*expression * Optional. An expression that returns an Application object.
Contents Optional Boolean. True if the contents of the selected cells are cleared. The default value is True.
Formats Optional Boolean. True if the formats of the selected cells are cleared. The default value is False.
Notes Optional Boolean. True if the notes of the assignment, resource, or task in the selected cells are cleared. The default value is False.
Hyperlinks Optional Boolean. True if the hyperlinks associated with the selected cells are removed. The default value is False.
Example
The following example clears the contents, formats, and notes of the selected cells.
Sub ClearAll()
EditClear True, True, True
End Sub
Applies to | Application Object
See Also | EditClearFormats Method | EditCopy Method | EditCopyPicture Method | EditCut Method | EditDelete Method | RowClear Method