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

Excel XP, Win XP
Scenario 1:
Cell A1 is not a Data Validation cell.
Cell C1 is a Data Validation cell, with a list of dates of one month.
Enter a date in A1.
A Worksheet _Change macro fires and enters a date 7 days less than A1
into C1.
The Data Validation in C1 defaults to that date (7 days less than A1).

Scenario 2:
Same scenario except that A1 is a Data Validation cell as well as C1
with the same list.
Select a date in A1.
The Change macro fires.
Nothing is entered into C1.
C1 Data Validation does not default the A1-7
Why?
I know that I can write code to change the list for C1 to start at 7 days
less that A1. But why doesn't the default thing work? Thanks for your
time? Otto


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
Link behavior with changing data set Fred Holmes Excel Discussion (Misc queries) 3 June 18th 09 01:49 AM
pivot w/ a different workbook as data source - odd behavior gtgtgt[_2_] Excel Discussion (Misc queries) 0 April 23rd 08 05:58 PM
Pivot table Data area show/hide behavior Peter Ross Excel Discussion (Misc queries) 0 January 20th 06 10:37 PM
question data validation and delete/clear behavior Jeff Higgins Excel Programming 0 January 23rd 05 08:09 PM


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