Good afternoon,
I'm looking to create a macro, that fills out a table X, whilst calculating equations using values from another table Y, that change every time a column in table X is finished and the previous column in table X.
So I've defined all the values from table Y (Dim Num... As Integers) and start off by defining the values from table x, then move to the right cell and complete the equations for that column. Could I then just go ahead and do something like this to define Values from table X and have it repeat time over time until it fills out the table?
ActiveCell.Offset(0, -1).Select
N1 = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
N2 = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
N3 = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
N4 = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
N5 = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
N6 = ActiveCell.Value
ActiveCell.Offset(-5, 1).Select
To basically redefine N1-6 as we go through to the next column.
The Calculations are then just done as follows:
ActiveCell.Value = N3 - (N3 * Num12)
ActiveCell.Offset(1, 0).Select
Thanks for any help or advice