Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.EditClear Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Clears the selected cells.

Syntax

expression. EditClear( ** Contents, ** Formats, ** Notes, ** Hyperlinks )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
ContentsOptionalBooleanTrue if the contents of the selected cells are cleared. The default value is True.
FormatsOptionalBooleanTrue if the formats of the selected cells are cleared. The default value is False.
NotesOptionalBooleanTrue if the notes of the assignment, resource, or task in the selected cells are cleared. The default value is False.
HyperlinksOptionalBooleanTrue if the hyperlinks associated with the selected cells are removed. The default value is False.

Return Value

Boolean

Example

The following example clears the contents, formats, and notes of the selected cells.

Sub ClearAll() 
 EditClear True, True, True 
End Sub
© 2018 Microsoft