Greetings,
I would like to identify a maximum value within a range of cells. I am currently trying the line below, but am not apply the correct syntax. What is the best structure to use for similar types of operations? Also, what rules surround the definition of the row and column identifiers in the .cells property?
I would like to identify a maximum value within a range of cells. I am currently trying the line below, but am not apply the correct syntax. What is the best structure to use for similar types of operations? Also, what rules surround the definition of the row and column identifiers in the .cells property?
Code:
If Cells(a, "E").Value = WorksheetFunction.Max(Range(Cells((a+10),"E"):Cells((a-10),"E")).Value Then