Hello,
I have an Excel tool that I am using to model scenarios and I would like to automate part of it but am not sure how to write the code. I have a column of twelve cells (B2:B13), each of which is used to input variables that feed into a large series of calculations. I would like to cycle through each of these cells, one at a time, testing values from 0 to 100 in increments of 5 and keep the value that yields the highest calculated result in an adjacent cell (D2), then move on to the next cell.
I know this is possible, but I'm a bit of VBA novice and am having trouble piecing it together. Thanks in advance for your help!
Bookmarks