Share via


_Worksheet.EnableSelection Propiedad

Definición

Devuelve o establece qué celdas se pueden seleccionar en la hoja de cálculo. Lectura y escritura XlEnableSelection.

public:
 property Microsoft::Office::Interop::Excel::XlEnableSelection EnableSelection { Microsoft::Office::Interop::Excel::XlEnableSelection get(); void set(Microsoft::Office::Interop::Excel::XlEnableSelection value); };
public Microsoft.Office.Interop.Excel.XlEnableSelection EnableSelection { get; set; }
Public Property EnableSelection As XlEnableSelection

Valor de propiedad

Comentarios

Esta propiedad sólo tiene efecto si la hoja de cálculo está protegida: xlNoSelection impide realizar una selección en la hoja, xlUnlockedCells sólo permite seleccionar las celdas cuya propiedad Locked tiene el valor False y xlNoRestrictions permite seleccionar cualquier celda.

Se aplica a