Good Morning,
I am having a problem creating a for loop that iterates through a range of values while doing a function on every row.
The problem at hand:
If I have some function - Performance = ( 1 - (Part1IdealRate * Part1PartsProduced) ) + ( 1 - (Part2IdealRate * Part2PartsProduced) ) + ...etc how would I go about applying this?
My initial attempt involved just iterating over the entire range and applying the formula onto the rows, specifying the cells such that
This value is then send to an array
Then the array is redimmed
Everytime I run this it yields an error at the Redim - Error 9: Subscript out of range .
Heres the entire portion of the code:
Any help would be appreciated thanks!
Bookmarks