I want to use a userform in place of an input box. Basically, you have the first userform which opens when Excel opens and looks something like this
1.0.jpg which asks to enter the date correctly in the format stated and assigns it to variable1 - the command button also starts the rest of the code. Assume the user input was mmddyyyy, I would then like the following second userform2.0.jpg to pop up as follows which checks the format of the date, loops if incorrect, and then uses a correctly formatted date to assign to the variable1 and contiunes on with the original code upon clicking on commandbutton 2. Any idea how this can be done?
Bookmarks