ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can you set certain cells as read only? (https://www.excelbanter.com/excel-discussion-misc-queries/124240-can-you-set-certain-cells-read-only.html)

gap1549

Can you set certain cells as read only?
 
I want to set a group of cells that calculate values...and I want them to be
readonly. Is this possible?

Chip Pearson

Can you set certain cells as read only?
 
If by "readonly" you mean that they cannot be changed by the user, you need
to lock the cells and then protect the workbook. By default, all cells are
locked, so when you protect the sheet, none of the cells can be changed.

First, use CTRL+a to select all the cells (or click the square to the left
of the "A" column heading, above the "1" row heading). Go to the Format
menu, choose Cells, the Protection tab, and UNCHECK the Locked property.
That will make all cells editable even when the workbook is protected. Now
select the cells you want to lock. Go back and CHECK the Locked property.
Finally, protect the worksheet (Tools menu, Protection, Protect Sheet). Use
a password if desired.


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


"gap1549" wrote in message
...
I want to set a group of cells that calculate values...and I want them to
be
readonly. Is this possible?





All times are GMT +1. The time now is 03:49 AM.

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