XlEnableSelection Enumeration

Specifies what can be selected on the sheet.

Version Information
 Version Added:  Excel 2007

Name Value Description
xlNoRestrictions 0 Anything can be selected.
xlNoSelection -4142 Nothing can be selected.
xlUnlockedCells 1 Only unlocked cells can be selected.