Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KG
 
Posts: n/a
Default Data validation, cell protection or other method?

I have used data validation to set parameters for valid data entry and I have
also used cell protection to prevent any type of data entry. What I am trying
to do in this instance is to prevent data entry but, instead of the standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I need
to look for a VBA solution?
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Say you want A1:A10 to be restricted.

Select the range, A1:A10, then in Data Validation,
Check "Custom" in the Allow window, and enter this formula:
=A1=""

Then, click the "Input Message" tab, and type in your message,
"Data Must Be Entered In "P.A."

Then click <OK.

Now, just clicking in any restricted cell will bring up that special
message, even before any attempt is made to key in data.
If the message is ignored, and data is keyed in, when <Enter is hit, the
"Error Alert" message comes up, which you can also customize to your liking.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"KG" wrote in message
...
I have used data validation to set parameters for valid data entry and I

have
also used cell protection to prevent any type of data entry. What I am

trying
to do in this instance is to prevent data entry but, instead of the

standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I need
to look for a VBA solution?


  #3   Report Post  
KG
 
Posts: n/a
Default

The special message only appears after I type in the restricted cells and hit
<Enter but I can live with that. Thank you for your help.
"Ragdyer" wrote:

Say you want A1:A10 to be restricted.

Select the range, A1:A10, then in Data Validation,
Check "Custom" in the Allow window, and enter this formula:
=A1=""

Then, click the "Input Message" tab, and type in your message,
"Data Must Be Entered In "P.A."

Then click <OK.

Now, just clicking in any restricted cell will bring up that special
message, even before any attempt is made to key in data.
If the message is ignored, and data is keyed in, when <Enter is hit, the
"Error Alert" message comes up, which you can also customize to your liking.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"KG" wrote in message
...
I have used data validation to set parameters for valid data entry and I

have
also used cell protection to prevent any type of data entry. What I am

trying
to do in this instance is to prevent data entry but, instead of the

standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I need
to look for a VBA solution?



  #4   Report Post  
KG
 
Posts: n/a
Default

Ignore the previous post! I had put my message in the error alert, not in the
Input Message. This does exactly what I want. Thanks!!!

"Ragdyer" wrote:

Say you want A1:A10 to be restricted.

Select the range, A1:A10, then in Data Validation,
Check "Custom" in the Allow window, and enter this formula:
=A1=""

Then, click the "Input Message" tab, and type in your message,
"Data Must Be Entered In "P.A."

Then click <OK.

Now, just clicking in any restricted cell will bring up that special
message, even before any attempt is made to key in data.
If the message is ignored, and data is keyed in, when <Enter is hit, the
"Error Alert" message comes up, which you can also customize to your liking.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"KG" wrote in message
...
I have used data validation to set parameters for valid data entry and I

have
also used cell protection to prevent any type of data entry. What I am

trying
to do in this instance is to prevent data entry but, instead of the

standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I need
to look for a VBA solution?



  #5   Report Post  
RagDyeR
 
Posts: n/a
Default

Appreciate the feed-back.
--

Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------

"KG" wrote in message
...
Ignore the previous post! I had put my message in the error alert, not in
the
Input Message. This does exactly what I want. Thanks!!!

"Ragdyer" wrote:

Say you want A1:A10 to be restricted.

Select the range, A1:A10, then in Data Validation,
Check "Custom" in the Allow window, and enter this formula:
=A1=""

Then, click the "Input Message" tab, and type in your message,
"Data Must Be Entered In "P.A."

Then click <OK.

Now, just clicking in any restricted cell will bring up that special
message, even before any attempt is made to key in data.
If the message is ignored, and data is keyed in, when <Enter is hit, the
"Error Alert" message comes up, which you can also customize to your

liking.
--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"KG" wrote in message
...
I have used data validation to set parameters for valid data entry and I

have
also used cell protection to prevent any type of data entry. What I am

trying
to do in this instance is to prevent data entry but, instead of the

standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I

need
to look for a VBA solution?







  #6   Report Post  
Anne Troy
 
Posts: n/a
Default

You should be able to set custom messages using Data validation. Just choose
Data--Validation, and hit the Error Message tab of that dialog.


"KG" wrote in message
...
I have used data validation to set parameters for valid data entry and I

have
also used cell protection to prevent any type of data entry. What I am

trying
to do in this instance is to prevent data entry but, instead of the

standard
message that pops up when using cell protection, I want to display a
customized message such as:

Data for these fields must be entered in "Project Assumptions"

Can Data validation be used to prevent data entry of any kind or do I need
to look for a VBA solution?



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
Import Data into same cell ib_redbeard Excel Discussion (Misc queries) 3 March 1st 05 12:08 PM
Duplicate data in a cell... The Outlaw Dozy Wales Excel Worksheet Functions 2 December 15th 04 12:31 PM
how to add two data validation lists to a single cell? Mike Peter Excel Worksheet Functions 1 December 8th 04 08:22 PM
sending data from one cell to another (not using copy & paste) Charlie Payne Excel Worksheet Functions 3 December 6th 04 03:28 PM
data validation on sth else [email protected] Excel Worksheet Functions 1 November 3rd 04 01:52 PM


All times are GMT +1. The time now is 12:16 PM.

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

About Us

"It's about Microsoft Excel"