Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Data Validation Questions

Is there a way to discern in code (say in the worksheet
change event procedure)whether or not data validation
criteria for a particular cell was met or not met in the
most recent change to the cell? I would like to be able to
set calculation to manual and then recalculate the
worksheet only if the most recent entry was valid, else do
nothing.

I have used custom functions and VBA code to validate
input, but when you condition the display of dependent
cells on those tests, it causes problems with other tools
such as Goal Seek or Solver, for example in the case where
an input cell has to be a whole number.

More generally is there a different or better approach to
stopping the cascading effect of invalid entries that
occurs when calculation is set to automatic--that is, so
the effects of erroneous data do not ripple through the
worksheet before the user responds to Retry or Cancel the
entry? I would like to set things up so the Undo history
is maintained and Goal Seek and Solver tools work as well.

Any thoughts on the best approach to follow when you have
a finite set of input data that you want to test for
validity, and you only want the results cells to change if
the new data is valid.


Thanks,
Fred Lambelet


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
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 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
TWO QUESTIONS: Validation & Spacing...PLEASE HELP Polina Excel Discussion (Misc queries) 3 July 29th 05 02:36 AM


All times are GMT +1. The time now is 09:08 PM.

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

About Us

"It's about Microsoft Excel"