empty Method

Microsoft FrontPage Visual Basic

empty Method

Deselects the current selection.

expression.empty

expression    Required. An expression that returns an IHTMLSelectionObject object.

Example

The following example creates a selection object from the currently selected text in the active document and then deselects the text.

    Dim objSel As IHTMLSelectionObject

Set objSel = ActiveDocument.selection

objSel.empty