ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   prevent data entry into cell? (https://www.excelbanter.com/excel-worksheet-functions/81265-prevent-data-entry-into-cell.html)

keif

prevent data entry into cell?
 
how do i prevent no data entry into a cell? my spreadsheet has some open
areas that i have "greyed out" cells to indicate no data entry - but how i
block them to prevent any data entry into the cell?

Nick Hodge

prevent data entry into cell?
 
Lock the cells and protect the worksheet

Select the cells that you wish to UNLOCK via FormatCells...Protection and
un-check locked.

Now go to toolsprotectionprotect sheet... and supply a password is
desireable. You will now not be able to change the 'locked' cells

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"keif" wrote in message
...
how do i prevent no data entry into a cell? my spreadsheet has some open
areas that i have "greyed out" cells to indicate no data entry - but how i
block them to prevent any data entry into the cell?




jiwolf

prevent data entry into cell?
 
lock the cells you that want to prevent data entry, then protect the sheet.

"keif" wrote in message
...
how do i prevent no data entry into a cell? my spreadsheet has some open
areas that i have "greyed out" cells to indicate no data entry - but how i
block them to prevent any data entry into the cell?




Elkar

prevent data entry into cell?
 
There are a couple ways you can do this. Either Protect the Worksheet or use
Data Validation.

To Protect the worksheet, select each of your cells that you DO want data
entered into. Format the cells and choose "Unlock" from the Protection tab.
Then, select Tools -- Protection -- Protect Sheet. You may enter a
password or not, depending how secure you want the worksheet to be. Now only
the cells that you unlocked earlier will allow data to be entered.

To use Data Validation, select the cells that you DO NOT want data entered
into. Select Validation from the Data Menu. Under Allow, change "Any Value"
to "Text Length" and set to "Equal to" and 0. Now, any typing will be
prevented in those cells.

HTH,
Elkar


"keif" wrote:

how do i prevent no data entry into a cell? my spreadsheet has some open
areas that i have "greyed out" cells to indicate no data entry - but how i
block them to prevent any data entry into the cell?



All times are GMT +1. The time now is 06:19 AM.

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