The VBA formula is:
And altogether, here is what the macro looks like:
The result of this macro is the formula, "=AND(89<>"",89>=110)" in every row for column i9Variable. What it is doing is grabbing the column numbers of the variables and placing them in the equation. For example: iVariable is in column "CK" which is the 89th column, and i8Variable is in column "DF" which is the 110th column. The reason the equation uses the exact same numbers in every cell for column i9Variable, is because the formula only references the columns of iVariable/i8Variable, and not each corresponding
row. This is where my trouble is. What I need to know is how to include each row reference in the VBA formula.
Bookmarks