ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Data Validation (https://www.excelbanter.com/excel-worksheet-functions/223734-data-validation.html)

JPDS

Data Validation
 
Does anyone know how to protect cells which have data validation in them? I'm
using the general protection methods which doesnt seem to work.

Bob Phillips[_3_]

Data Validation
 
Protecting them from what?

--
__________________________________
HTH

Bob

"JPDS" wrote in message
...
Does anyone know how to protect cells which have data validation in them?
I'm
using the general protection methods which doesnt seem to work.




Shane Devenshire

Data Validation
 
Hi,

If you are choosing Tools, Protection, Protect Sheet your Data Validations
are protected provided the Format, Cells, Protection option is set to Locked.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JPDS" wrote:

Does anyone know how to protect cells which have data validation in them? I'm
using the general protection methods which doesnt seem to work.


JPDS

Data Validation
 
Hi,

It does and it doesnt really - I have a table of 5 columns all dates. Date1
is a validation list based on a set of dates. Date2 is offset against the
dates in Date1 i.e. Date2 can never occur before Date1 etc, up to Date 5.
When I protect the cells etc, the process works i.e. you can only choose from
the validation dropdown lists so long as you choose Date1, then Date2 then
Date3 etc. If you skip Date3 then enter data into Date4 manually, this is
accepted. And thats my problem, I only want people to choose from the
dropdownlists. Does that make sense?

"Shane Devenshire" wrote:

Hi,

If you are choosing Tools, Protection, Protect Sheet your Data Validations
are protected provided the Format, Cells, Protection option is set to Locked.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JPDS" wrote:

Does anyone know how to protect cells which have data validation in them? I'm
using the general protection methods which doesnt seem to work.


Gord Dibben

Data Validation
 
Doable with event code to unprotect the sheet and unlock a cell for entry if
the entry meets your condition.

Else, keep sheet and cell locked so user cannot enter an invalid date
manually.

Two questions..........which cell or cells have the dropdown list(s) with
Date1, Date2 etc.?

Which are the five columns with the dates?


Gord Dibben MS Excel MVP

On Wed, 11 Mar 2009 06:07:01 -0700, JPDS
wrote:

Hi,

It does and it doesnt really - I have a table of 5 columns all dates. Date1
is a validation list based on a set of dates. Date2 is offset against the
dates in Date1 i.e. Date2 can never occur before Date1 etc, up to Date 5.
When I protect the cells etc, the process works i.e. you can only choose from
the validation dropdown lists so long as you choose Date1, then Date2 then
Date3 etc. If you skip Date3 then enter data into Date4 manually, this is
accepted. And thats my problem, I only want people to choose from the
dropdownlists. Does that make sense?

"Shane Devenshire" wrote:

Hi,

If you are choosing Tools, Protection, Protect Sheet your Data Validations
are protected provided the Format, Cells, Protection option is set to Locked.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JPDS" wrote:

Does anyone know how to protect cells which have data validation in them? I'm
using the general protection methods which doesnt seem to work.



JPDS

Data Validation
 
Column1 = Date1 = validation list from an array of any dates
Column2 = Date2 = Offset validation list against Date1 (Date2 is never
before Date1)
Column3 = Date3 = Offset validation list against Date2 (Date3 is never
before Date2)
Column4 = Date4 = Offset validation list against Date3 (Date4 is never
before Date3)
Column5 = Date5 = Offset validation list against Date4 (Date5 is never
before Date4).

The sequence always starts with choosing Date1 from the list, however it is
possible to miss Date2 then manually key into Date3.


"Gord Dibben" wrote:

Doable with event code to unprotect the sheet and unlock a cell for entry if
the entry meets your condition.

Else, keep sheet and cell locked so user cannot enter an invalid date
manually.

Two questions..........which cell or cells have the dropdown list(s) with
Date1, Date2 etc.?

Which are the five columns with the dates?


Gord Dibben MS Excel MVP

On Wed, 11 Mar 2009 06:07:01 -0700, JPDS
wrote:

Hi,

It does and it doesnt really - I have a table of 5 columns all dates. Date1
is a validation list based on a set of dates. Date2 is offset against the
dates in Date1 i.e. Date2 can never occur before Date1 etc, up to Date 5.
When I protect the cells etc, the process works i.e. you can only choose from
the validation dropdown lists so long as you choose Date1, then Date2 then
Date3 etc. If you skip Date3 then enter data into Date4 manually, this is
accepted. And thats my problem, I only want people to choose from the
dropdownlists. Does that make sense?

"Shane Devenshire" wrote:

Hi,

If you are choosing Tools, Protection, Protect Sheet your Data Validations
are protected provided the Format, Cells, Protection option is set to Locked.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"JPDS" wrote:

Does anyone know how to protect cells which have data validation in them? I'm
using the general protection methods which doesnt seem to work.





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

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