ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   what is enableselection proprty does? (https://www.excelbanter.com/excel-programming/375769-what-enableselection-proprty-does.html)

dev

what is enableselection proprty does?
 
I changed the value of this property to xlnoselection but nothing happened. I
am wondering what this property does.



Gord Dibben

what is enableselection proprty does?
 
Did you also protect the sheet after?

From Help on "enableselection"

This example sets worksheet one so that nothing on it can be selected.

With Worksheets(1)
.EnableSelection = xlNoSelection
.Protect Contents:=True, UserInterfaceOnly:=True
End With


Gord Dibben MS Excel MVP

On Mon, 23 Oct 2006 12:19:02 -0700, Dev wrote:

I changed the value of this property to xlnoselection but nothing happened. I
am wondering what this property does.



Chip Pearson

what is enableselection proprty does?
 
EnableSelection takes effect only when the worksheet is protected. It
prevents you from selecting cells.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
(email address is on the web site)

"Dev" wrote in message
...
I changed the value of this property to xlnoselection but nothing happened.
I
am wondering what this property does.





Tom Ogilvy

what is enableselection proprty does?
 
Just to add,
with a worksheet selected, make the control toolbox toolbar visible. click
on the properties button. (it is usually the second button on the top row).
One of the properties is EnableSelection. It is the VBA equivalent manage
the setting for this property.

--
Regards,
Tom Ogilvy



"Dev" wrote:

I changed the value of this property to xlnoselection but nothing happened. I
am wondering what this property does.




All times are GMT +1. The time now is 05:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com