ThrottleWorks
Excel Ninja
Hi, I am trying to do correlation by VBA.
I am using following code to run the macro.
I have recorded this part & running it again.
Application.Run "ATPVBAEN.XLAM!Mcorrel", ActiveSheet.Range("$I$2:$L$503"), _
ActiveSheet.Range("$N$4"), "C", True
But while trying to execute this code, I am getting an error
“Run Time Error 1004 Method ‘Run’ of object ‘ _application failed”
Can anyone please tell me how do I resolve this.
I am using following code to run the macro.
I have recorded this part & running it again.
Application.Run "ATPVBAEN.XLAM!Mcorrel", ActiveSheet.Range("$I$2:$L$503"), _
ActiveSheet.Range("$N$4"), "C", True
But while trying to execute this code, I am getting an error
“Run Time Error 1004 Method ‘Run’ of object ‘ _application failed”
Can anyone please tell me how do I resolve this.