#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11
Default lock cells

how to lock a single cell in ms excel by not a worksheet
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,058
Default lock cells

Right from the Recorder:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 2/22/2008 by James Ravenswood
'

'
Cells.Select
Selection.Locked = False
Selection.FormulaHidden = False
Range("A1").Select
Selection.Locked = True
Selection.FormulaHidden = False
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub

--
Gary''s Student - gsnu200770


" wrote:

how to lock a single cell in ms excel by not a worksheet

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 136
Default lock cells

Hi,

On your sheet left click the grey box in the top left hand corner of the
sheet (Above Row 1 and to the left of Column A) this selects all cells on the
sheet.

Right click and selct Format Cells then the Protection Tab, uncheck the
Locked box and click Ok.

Select the cell that you want to lock/protect. Right click, Format Cells,
Protection tab and check the Locked box, click OK.

Select the Tools menu from the top of the screen and Protection, the protect
sheet.

Uncheck the Select Locked Cells box.

Enter a password, click ok, enter the passwaord that you used in the
previous step and click ok.

Hope this helps,

Gav.


" wrote:

how to lock a single cell in ms excel by not a worksheet

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,090
Default lock cells

What is it that you want to do? What do you mean when you say "lock a
cell"? That means different things to different people. In Excel, that
means to change the setting of a cell to "Locked". That, by itself, does
not protect the cell. If the sheet is protected, all locked cells are
protected. Post back with more detail about what you have and what you want
to have. HTH Otto
wrote in message
...
how to lock a single cell in ms excel by not a worksheet



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
lock cells. Miri Excel Discussion (Misc queries) 1 February 21st 07 09:42 AM
How lock just some cells Cowtoon New Users to Excel 2 September 29th 06 11:21 PM
How To Lock Cells Ziggy M Excel Discussion (Misc queries) 3 August 18th 06 02:24 PM
How do I lock all cells in a given row together to one another? Michael Goldman Excel Discussion (Misc queries) 1 May 27th 06 08:17 AM
Lock Cells Diana Excel Discussion (Misc queries) 2 September 26th 05 07:27 PM


All times are GMT +1. The time now is 05:08 AM.

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"