The code below provides input boxes for the User to enter a "To" and "From" date range - the purpose is to ensure the correct date format is entered when a report needs to be run for a specified period. This works fine by displaying a "Try entering valid From date" if the User gets the date format wrong. However...
If the User for some reason wants to cancel out of entering a date this will also trigger the "Try entering valid From date" message. It's one of those annoying loops that forces the User to go through the entire subroutine without being able to cancel out or abort if need be. Any ideas how to build in a Cancel out option for this?
Also, when both dates have been entered correctly a message box is displayed for each date to confirm to the User the dates they have just entered however there is no description on each of the messages boxes to distinguish the "To" and "From" dates. Is there anyway of adding text to these message boxes to include"To" and "From"?
Bookmarks