Edit > Invert Selection
 
 
 

Selects all unselected objects, and deselects all selected objects.

Related topics