Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default validate all cells before save

i have an application that used data validation to ensure that entries into
cells are valid...duh. however, i use macros to change the values of these
cells and the validation does not get picked up. is there a way to either
have this validation work when a macro changes a cell value or, maybe even
better, run a macro before the user saves the workbook that will validate all
of the cells. are eitehr of these possible? TIA.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default validate all cells before save

ok...i see that i could loop through all my cells that contain data
validation, but how do i check the validity of the cells?

"Don Guillett" wrote:

You could do either. Have a look in the vba help index for FINDNEXT

--
Don Guillett
SalesAid Software

"Spencer" wrote in message
...
i have an application that used data validation to ensure that entries into
cells are valid...duh. however, i use macros to change the values of
these
cells and the validation does not get picked up. is there a way to either
have this validation work when a macro changes a cell value or, maybe even
better, run a macro before the user saves the workbook that will validate
all
of the cells. are eitehr of these possible? TIA.




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
validate multiple cells in to one dropdown box shad Excel Discussion (Misc queries) 3 April 15th 07 10:02 PM
validate cells Tammy H[_2_] Excel Programming 3 September 30th 06 03:34 AM
HOW DO I GET EXCEL TO VALIDATE TWO CELLS AT ONCE Christopher Gilbert Excel Discussion (Misc queries) 1 December 9th 05 11:32 PM
Validate cells have data WendyUK Excel Worksheet Functions 9 August 13th 05 01:33 AM
Validate Cells based on if conditions Supriya Excel Programming 1 February 2nd 04 06:18 AM


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

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"