-2
I am developing an automation in VBA that accesses a certain site and takes some information from it, however I’m having a problem in this.
The site (Santander - Benner) is very badly done, many parts were built in a way that appears to be amended with what had already done, IE, just added more features and did not configure the whole project.
Getting to the point, I wanted to know if you have any way to work with Goto error handling in loop form.
Example: while error occurs, do... or, is error, go back up to "x" line and do the procedure until you reach this checker again, if you have error again, redo and so on... I don’t know if you make it clear, but it’s loop Goto.
Hello, M. Marins. I formatted your text for better understanding and contribution of the participants.
– Maria Clara
Behold this answer. In which the
If
is used in conjunction with theGoTo
. If everything occurs ok performs the functions, otherwise calls the functionGetFolder
and back toInicio:
– danieltakeshi
@danieltakeshi thanks for the link, the link example made me find a solution to this problem, using some research and seeing what you sent me, gave to assemble a solution
– M. Marins
It would be good for you to add to the question the code you have for better understanding.
– Tony
@Tony is on the bottom...
– M. Marins