Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Disable a cell in excel

Is it possible in excel to disable a particular cell?

Thx in adavance.
SK




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Disable a cell in excel

Now I kinda figured it out. But the problem is when
selecting the disabled cell and drag outside to extend
the series, the protection is only applied to the original
one. Is there any workaround?

Sub prt()
With ActiveSheet
.Cells.Locked = False
With Range("B4")
.Value = "MyValue"
.Interior.ColorIndex = 15
.Locked = True
End With
.Protect Password:="mypassword"
End With
End Sub


SK



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable a cell in excel

Disable could have several interpretations, but if you meant for entry:
set its locked property to true and protect the sheet.

Certainly not foolproof.

--
Regards,
Tom Ogilvy


"Shinya Koizumi" wrote in message
...
Is it possible in excel to disable a particular cell?

Thx in adavance.
SK






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Disable a cell in excel

Hi Shinya,

Had a somewhat similar problem to yours, for which I placed all the
"disabled" cells in a dedicated hidden sheet ...
HTH
Cheers
Carim

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
Disable Cell reza Excel Discussion (Misc queries) 5 January 26th 10 05:07 PM
Disable cell reference insertion with PageUp in cell edit mode. Greta Excel Discussion (Misc queries) 0 May 21st 08 03:54 PM
Code to disable a cell in excel Athens Excel Discussion (Misc queries) 2 February 20th 07 04:52 PM
disable cell JoeMNY Excel Discussion (Misc queries) 4 December 6th 04 05:47 PM
Disable Cell pokpok Excel Programming 1 November 17th 03 04:54 PM


All times are GMT +1. The time now is 12:31 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"