Looking for insight - appreciate the glance.
I am attempting to determine the minimum date within a dynamic range using the following:
Range("D1").Select
Selection.FormulaArray = _
"=MIN(DATA!R[1]C:R[" & NumRows - 1 & "]C)"
The information resides in the DATA worksheet, column D, starting at D2 and ending at the number of rows that are counted by the function "NumRows"
The expectation is that the result of the formula =MIN(D2:D137) be placed into the specifified cell on the starting worksheet. Upon running the macro - I error out.
What am I doing wrong?
I am attempting to determine the minimum date within a dynamic range using the following:
Range("D1").Select
Selection.FormulaArray = _
"=MIN(DATA!R[1]C:R[" & NumRows - 1 & "]C)"
The information resides in the DATA worksheet, column D, starting at D2 and ending at the number of rows that are counted by the function "NumRows"
The expectation is that the result of the formula =MIN(D2:D137) be placed into the specifified cell on the starting worksheet. Upon running the macro - I error out.
What am I doing wrong?