codeliftsleep
Board Regular
- Joined
- Apr 14, 2017
- Messages
- 103
Hey all,
having a very irritating error that I can't get resolved...I am opening and calling the same Function name from 6 workbooks. 4 of them it works perfecly fine. The other 2, I get the dreaded "Error 1004 The macro cannot be ran or macros are disabled". Everything is right. The filename is found, it opens the file, the Sub is there to run, but it throws the error.
The irritating part is that 4 workbooks work with no issues, calling the same macro name. Only two aren't working properly. I checked and there are no compiler issues. It legit will just not run the macro.
How can I resolve this?
having a very irritating error that I can't get resolved...I am opening and calling the same Function name from 6 workbooks. 4 of them it works perfecly fine. The other 2, I get the dreaded "Error 1004 The macro cannot be ran or macros are disabled". Everything is right. The filename is found, it opens the file, the Sub is there to run, but it throws the error.
The irritating part is that 4 workbooks work with no issues, calling the same macro name. Only two aren't working properly. I checked and there are no compiler issues. It legit will just not run the macro.
How can I resolve this?