Invert Selection

The Select menu > Invert Selection command changes the selection such that the currently selected objects are no longer selected and all objects that are not currently selected are selected.

See also:

Select by Pointer/in Window

Invert Visibility of Objects