Clear (Grid)

Clears the contents of the Grid. This includes all text, pictures, and cell formatting. The Clear method does not affect the number of rows and columns on the Grid.

Syntax

object.Clear

The object placeholder represents an object expression that evaluates to an object.

Remarks

To remove cells instead of just clearing them, use the RemoveItem method on each row to be removed.