select method

Makes the selection equal to the current object.

Syntax

HRESULT retVal = object.select();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method causes the current object to be highlighted.

This method produces a shaded rectangle around the elements in the controlRange.

This feature might not be available on non-Microsoft Win32 platforms.