Hello everyone, I am making an automation where the user is asked to enter a starting month and an ending month according to a list of options, after that what I need is to print the months that are in the entered range on the screen. For example, if you enter January as the starting month and May as the ending month, I need it to print January, February, March, April, and May…
Does anyone have an idea on how to do it?
I attach the example file that I am making but it does not work as I think…
Hi Paul, thanks for your help. However, can you please tell me how to finish the validation because what was done as indicated but after detecting the last month the process continues infinitely…
Take the Assign out of the If. It has to be after the If so it’s processed every time. The way you have it, the counter is only incremented if the Month is output. You need the counter incremented every time through the loop. And you don’t need anything in the Else block.
Also, you have used a While. I used a Do While. They are different, although in this case it shouldn’t matter which you use.