Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Member
 
Posts: 36
Default How to lock cell

Hi,

How to lock a particular cell without locking the whole work sheet

Pls help me.
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Moideen View Post
Hi,

How to lock a particular cell without locking the whole work sheet

Pls help me.
Do you mean have one particular cell that cannot be updated/altered but the rest can?

Or do you mean have a locked cell but without protecting the work sheet?
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 621
Default How to lock cell

By default all cells on a sheet are locked when the sheet is
protected.

Select all cells(CTRL + a...........twice in Excel 2003) then go to
formatcellsprotection and unlock all.

Now select just the cells you want locked and mark them as locked.

Protect the sheet.


Gord

On Tue, 13 Mar 2012 19:26:54 +0000, Moideen
wrote:


Hi,

How to lock a particular cell without locking the whole work sheet

Pls help me.

  #4   Report Post  
Member
 
Posts: 36
Default

Quote:
Originally Posted by Spencer101 View Post
Do you mean have one particular cell that cannot be updated/altered but the rest can?

Or do you mean have a locked cell but without protecting the work sheet?
Yes, I mean have a locked cell but without protecting the work sheet.
  #5   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Moideen View Post
Yes, I mean have a locked cell but without protecting the work sheet.
I think it's only possible with VBA.
Have a look at this link for further advice as it's nothing I've ever needed to do before so cannot really advise myself.

http://www.mrexcel.com/forum/showthread.php?t=44323


  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 621
Default How to lock cell

Cannot be done.

Sheet must be protected in order to lock cells.


Gord


On Wed, 14 Mar 2012 07:51:14 +0000, Moideen
wrote:


Spencer101;1599757 Wrote:
Do you mean have one particular cell that cannot be updated/altered but
the rest can?

Or do you mean have a locked cell but without protecting the work sheet?


Yes, I mean have a locked cell but without protecting the work sheet.

  #7   Report Post  
Member
 
Posts: 36
Default

Quote:
Originally Posted by Spencer101 View Post
I think it's only possible with VBA.
Have a look at this link for further advice as it's nothing I've ever needed to do before so cannot really advise myself.

http://www.mrexcel.com/forum/showthread.php?t=44323


I have been using the below mentioned VBA code for cell protection,
It is protected only "A2" We need to protect from A2 to A8, Pls help me.

Private Sub Worksheet_Change(ByVal Target As Excel.Range)

If Target.Address < "$A$2" Then Exit Sub

Application.EnableEvents = False

MsgBox "Hey, leave me alone!"

Application.Undo

Application.EnableEvents = True

End Sub
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
How to lock the Ctrl key? (as locking the Shift key w/Caps Lock) Rick-cel Excel Discussion (Misc queries) 2 August 5th 09 06:45 PM
how do I undo the scroll lock, thscroll lock button does not work scroll lock Excel Discussion (Misc queries) 3 July 19th 08 10:17 PM
I have lock a wookbook but one cell does not want to lock it Mimi Excel Discussion (Misc queries) 2 January 21st 07 10:59 PM
I have lock a wookbook but one cell does not want to lock it Mimi Excel Discussion (Misc queries) 1 January 21st 07 09:44 AM
Lock data in a cell a specific cell based on selection on other ce CrimsonPlague29 Excel Worksheet Functions 0 May 10th 06 11:06 AM


All times are GMT +1. The time now is 08:24 PM.

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

About Us

"It's about Microsoft Excel"