Visual Basic: MSFlexGrid/MSHFlexGrid Controls

Clear Method (MSHFlexGrid)

See Also    Example    Applies To

Clears the contents of the MSHFlexGrid. This includes all text, pictures, and cell formatting. This method does not affect the number of rows and columns within the MSHFlexGrid.

Syntax

object.Clear

The Clear method syntax has one part:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

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