Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default data validation

Hi all,

I have input area on my sheet as following :

Item1
Item2
Item3
Item4

each of them sittin on one cell, I would like users to input from item1 to
item4 and I did it by using formula, but after input users can also erase
item1 and make a blank cell about item2. How to prevent it?

Clara

--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default data validation

Limitations to user entry are done by locking a cell under
Format=Cell=Protection tab (locked is the default value)

Then protecting the worksheet. (the locked setting is not enforced until
the sheet is protected). This, of course, imposes many limitations.

If the user is only to be excluded after making an entry, then you would use
the change event to unprotect the sheet, lock the cells, then reprotect the
sheet.

--
Regards,
Tom Ogilvy


"clara" wrote:

Hi all,

I have input area on my sheet as following :

Item1
Item2
Item3
Item4

each of them sittin on one cell, I would like users to input from item1 to
item4 and I did it by using formula, but after input users can also erase
item1 and make a blank cell about item2. How to prevent it?

Clara

--
thank you so much for your help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default data validation

Hi Tom,

My data validation is to force user input data in continuous way from item1
to item4, so I use Custom and my formula is =trim(a1)<"", but even it is
calculated to False , there is no error prompt message box.

Clara
--
thank you so much for your help


"Tom Ogilvy" wrote:

Limitations to user entry are done by locking a cell under
Format=Cell=Protection tab (locked is the default value)

Then protecting the worksheet. (the locked setting is not enforced until
the sheet is protected). This, of course, imposes many limitations.

If the user is only to be excluded after making an entry, then you would use
the change event to unprotect the sheet, lock the cells, then reprotect the
sheet.

--
Regards,
Tom Ogilvy


"clara" wrote:

Hi all,

I have input area on my sheet as following :

Item1
Item2
Item3
Item4

each of them sittin on one cell, I would like users to input from item1 to
item4 and I did it by using formula, but after input users can also erase
item1 and make a blank cell about item2. How to prevent it?

Clara

--
thank you so much for your help

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default data validation

Hi Tom.

My input range is A1:A10, I use formula "=trim(a1)<"" as data validation

A1
A2 =trim(a1)<""
A3 =trim(a2)<""
A4 =trim(a3)<""
A5 =trim(a4)<""
....

A10 =trim(a9)<""

it doesn't work
--
thank you so much for your help


"Tom Ogilvy" wrote:

Limitations to user entry are done by locking a cell under
Format=Cell=Protection tab (locked is the default value)

Then protecting the worksheet. (the locked setting is not enforced until
the sheet is protected). This, of course, imposes many limitations.

If the user is only to be excluded after making an entry, then you would use
the change event to unprotect the sheet, lock the cells, then reprotect the
sheet.

--
Regards,
Tom Ogilvy


"clara" wrote:

Hi all,

I have input area on my sheet as following :

Item1
Item2
Item3
Item4

each of them sittin on one cell, I would like users to input from item1 to
item4 and I did it by using formula, but after input users can also erase
item1 and make a blank cell about item2. How to prevent it?

Clara

--
thank you so much for your help

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default data validation

I guess I misunderstood your intentions.

No, data validation does not force the user to make an entry. It can only
restrict what the user enters in the cell. You data validation approach is
meaningless for what you are trying to do.

--
Regards,
Tom Ogilvy


"clara" wrote:

Hi Tom.

My input range is A1:A10, I use formula "=trim(a1)<"" as data validation

A1
A2 =trim(a1)<""
A3 =trim(a2)<""
A4 =trim(a3)<""
A5 =trim(a4)<""
...

A10 =trim(a9)<""

it doesn't work
--
thank you so much for your help


"Tom Ogilvy" wrote:

Limitations to user entry are done by locking a cell under
Format=Cell=Protection tab (locked is the default value)

Then protecting the worksheet. (the locked setting is not enforced until
the sheet is protected). This, of course, imposes many limitations.

If the user is only to be excluded after making an entry, then you would use
the change event to unprotect the sheet, lock the cells, then reprotect the
sheet.

--
Regards,
Tom Ogilvy


"clara" wrote:

Hi all,

I have input area on my sheet as following :

Item1
Item2
Item3
Item4

each of them sittin on one cell, I would like users to input from item1 to
item4 and I did it by using formula, but after input users can also erase
item1 and make a blank cell about item2. How to prevent it?

Clara

--
thank you so much for your help



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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Crazy Data Validation ... List Validation Not Working TW Bake Excel Programming 1 March 29th 07 02:41 AM
data validation invalid in dynamic validation list ilia Excel Programming 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 01:56 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"