Save/restore selection for multiple ranges.