![]() |
Interrupting initializing stage
I have a software that I am opening through Excel VBA, it inputs the
username, password and IP address and logs in to that software. If I supply correct password, the macro works, it opens the software, supplies username, password and IP and logs in but if I supply incorrect password, it goes in an endless loop. When I open the software physically (without the macro) and supply incorrect password, it gives me a box <<INITIALIZING and does not come out of it for a very long time, I have to end task it to get rid of it. My question, can we tell excel vba programatically before the the initializing line starts that if initializing takes more than 60 seconds, then inturrupt that stage and go forward. I tried on error resume next but it does not work as it does not gives any error. Any ideas??? Code:
Sub try() |
All times are GMT +1. The time now is 12:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com