stephenjones
Technical User
I have a macro (see below) that should select the range of cells, then run the "correlation" tool from the data analysis add-in (TOOLS < DATA ANALYSIS < CORRELATION), but it doesn't work. Sometimes I get an error that says it can't find the ATPVBAEN.XLA!Mcorrel file. Now, I get no error, but it doesn't run the Macro...just nothing. Any thoughts?
Sub Macro7()
Application.Run "ATPVBAEN.XLA!Mcorrel", ActiveSheet.Range("$A$1:$CQ$25"
, _
ActiveSheet.Range("$A$27"
, "C", True
End Sub
Sub Macro7()
Application.Run "ATPVBAEN.XLA!Mcorrel", ActiveSheet.Range("$A$1:$CQ$25"
ActiveSheet.Range("$A$27"
End Sub