Hello,
I've created a macro to run regression analysis under the data analysis option. The first time I enter my keyboard shortcut, the macro works fine. When I try re-entering the shortcut, I get the following error:
"cannot run the macro the macro may not be available in this workbook or all macros may be disabled"
Here is my code:
When I choose to debug the error, "application.run" to the last "false" is highlighted in yellow so this is where I assume the error is. I'm just not sure why the macro would run fine the first attempt, then fail after that.![]()
Please Login or Register to view this content.
Any help or advice would be appreciated!
Thanks
Bookmarks