Skip-
Not sure what the second range would be, its a correlation so you only have an input range and then a cell to paste the results.
Also, the code that you gave, should that be in a FUNCTION or SUB?
Skip-
Thanks for the help. However, I want the macro to run the correlation, then paste the values in cell A27. This part of the macro is part of a larger macro. I used the recorder and that was the code it developed. Why doesn't it run?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.