#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Minerva
 
Posts: n/a
Default validation

Hi,
I am validating a set of conditions before the end user closes the excel
window, the validation does go on afterwhich the window closes - even if a
set of conditions has not been met. I want the user to be unable to close the
window when he tries to; if one of the conditions is not met during the
validation.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default validation

Hi Minerva,

Try to apply a
Private Sub Workbook_BeforeClose(Cancel As Boolean)
event macro, and set Cancel to True if one of the conditions is not met
during the validation.

Regards,
Stefi


€˛Minerva€¯ ezt Ć*rta:

Hi,
I am validating a set of conditions before the end user closes the excel
window, the validation does go on afterwhich the window closes - even if a
set of conditions has not been met. I want the user to be unable to close the
window when he tries to; if one of the conditions is not met during the
validation.
Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Minerva
 
Posts: n/a
Default validation

Thanks Stefi, it helped!

"Stefi" wrote:

Hi Minerva,

Try to apply a
Private Sub Workbook_BeforeClose(Cancel As Boolean)
event macro, and set Cancel to True if one of the conditions is not met
during the validation.

Regards,
Stefi


€˛Minerva€¯ ezt Ć*rta:

Hi,
I am validating a set of conditions before the end user closes the excel
window, the validation does go on afterwhich the window closes - even if a
set of conditions has not been met. I want the user to be unable to close the
window when he tries to; if one of the conditions is not met during the
validation.
Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default validation

Your feedback is appreciated!
Regards,
Stefi


€˛Minerva€¯ ezt Ć*rta:

Thanks Stefi, it helped!

"Stefi" wrote:

Hi Minerva,

Try to apply a
Private Sub Workbook_BeforeClose(Cancel As Boolean)
event macro, and set Cancel to True if one of the conditions is not met
during the validation.

Regards,
Stefi


€˛Minerva€¯ ezt Ć*rta:

Hi,
I am validating a set of conditions before the end user closes the excel
window, the validation does go on afterwhich the window closes - even if a
set of conditions has not been met. I want the user to be unable to close the
window when he tries to; if one of the conditions is not met during the
validation.
Thanks.

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
Copy workbook- Validation function sjs Excel Worksheet Functions 3 December 28th 05 03:00 PM
TWO QUESTIONS: Validation & Spacing...PLEASE HELP Polina Excel Discussion (Misc queries) 3 July 29th 05 02:36 AM
data validation lists [email protected] Excel Discussion (Misc queries) 5 June 25th 05 07:44 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
Data Validation Window? Ken Excel Discussion (Misc queries) 1 January 11th 05 10:48 PM


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