Jasonrito1
New Member
- Joined
- Feb 6, 2019
- Messages
- 6
Hello everyone,
I made a Macro and it uses many user forms depending on the buttons you clic. The point is that I use a .vbs script to run it without having to open the excel workbook. It displays the login userform and everything works perfectly. The problem is that after you are done using the macro and click the button to exit an error message is displayed. I dont know why since everything works perfectly. I already tried moving the workbook to another location but still remains the same message.
It displays that the error is in line 2 char 1. Line 2 is the one that has the pathfile but I dont see any problem with it.
Probably is something wrong in the macro code?
Any help?
Thanks!
I made a Macro and it uses many user forms depending on the buttons you clic. The point is that I use a .vbs script to run it without having to open the excel workbook. It displays the login userform and everything works perfectly. The problem is that after you are done using the macro and click the button to exit an error message is displayed. I dont know why since everything works perfectly. I already tried moving the workbook to another location but still remains the same message.
It displays that the error is in line 2 char 1. Line 2 is the one that has the pathfile but I dont see any problem with it.
Probably is something wrong in the macro code?
Any help?
Thanks!