Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dev dev is offline
external usenet poster
 
Posts: 66
Default what is enableselection proprty does?

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default 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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EnableSelection Protecting sheet question Damian Excel Discussion (Misc queries) 3 September 25th 09 08:07 PM
".Protect userinterfaceonly:=True" & ".EnableSelection = xlUnlockedCells" not tabing STEVE BELL Excel Programming 1 February 23rd 06 01:39 AM
EnableSelection = xlUnlockedCells Stuart[_5_] Excel Programming 1 January 28th 05 12:39 AM
Why does the EnableSelection-xlNoSelection stick thru the user interface? IanS[_2_] Excel Programming 3 June 8th 04 02:05 AM
.EnableSelection = xlUnlockedCells Stuart[_5_] Excel Programming 3 May 11th 04 03:55 PM


All times are GMT +1. The time now is 01:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"