Hi All,
Dumb question for the master programmers here. Suppose I have a range of 100 numbers (or whatever number, could vary) that I want to perform some calculations on. The original range lives in the worksheet. I then want to create another range that is the result of these calculations, but I want the new range to "live" in the VBA, and not appear in the worksheet. How do I refer to the new range and "handle" it within VBA?
For instance, suppose the original range is 100 numbers. Now let's say I wanted to create a new range as a result of squaring the original range, and then I wanted to find the slope between the worksheet range and this new VBA range using Application.WorksheetFunction.SLOPE (this could be anything, I'm just using a simple example). I'm completely lost as to how to deal with calculating and storing the new range, then referring to it, all within the code.
Thanks so much for your help,
LBF
Bookmarks