Hi Everyone!
I have a worksheet which calculates productivity of resources. There is a cell in which user can input a date. Now I want to check whether the value user entered falls between a Start Date and End Date and if not then show an error message. Start Date and End Date are mentioned in two different cells in the same worksheet. Can anybody help me with a macro to achieve the same?
Below is a sample excel given.
Start Date 3/12/12 End Date 05/06/13 Date Task Hours 03/12/12 Requirement Study 2 5/04/13 Plan Preparation 4 07/07/13 Review 5
Now you can clearly see the in the last row the date is beyond the End Date mentioned in the above table..so in this case user will be prevented to enter the value and shown an error message "Wrong Input".
Bookmarks