Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
locate max value in variable range
Application.Max(Selection)
But you probably don't need to select it. Set rng = Range("M" & RCnt & ":" & "M" & EndRow) MsgBox Application.Max(rng) Alan Beban john wrote: After identifying the variable range and selecting it, how can the maximum value be isolated for use in subsequent step? Variable range looks like this: Range("M" & RCnt & ":" & "M" & EndRow).Select |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Locate value in a range | Excel Discussion (Misc queries) | |||
Locate values in range | Excel Discussion (Misc queries) | |||
locate a cell value within a range and return its reference | Excel Discussion (Misc queries) | |||
Using INDEX() to Locate Variable Data | Excel Discussion (Misc queries) | |||
How can I locate the second to last value in a range? | Excel Worksheet Functions |