XlEnableSelection enumeration (Excel)

Specifies what can be selected on the sheet.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.