Programmer's Guide > Interfaces > ADocument interface > selectionType attribute
  
selectionType attribute
An integer constant indicating whether there is no selection ( NO_SELECTION), a text selection ( TEXT_SELECTION), or a table selection ( TABLE_SELECTION).
selectionType
Access
read-only
Returns
ATISelectionType