I'd like to have a macro that looks at 2 or 3 cells in a spreadsheet and simply extracts their max or min, with the least amount of code such as this:
How can this be done?![]()
Please Login or Register to view this content.
Thanks
I'd like to have a macro that looks at 2 or 3 cells in a spreadsheet and simply extracts their max or min, with the least amount of code such as this:
How can this be done?![]()
Please Login or Register to view this content.
Thanks
Not sure exactly what you're looking for.
Here's something to play with:
Can you work with that?![]()
Please Login or Register to view this content.
yes - exactly what I need. Thank you![]()
.. is equivalent to![]()
Please Login or Register to view this content.
I think Ron meant![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Shg, thanks so much for catching that error!
I'd only tested it on a blank sheet with values in those two cells.
Didn't even notice the code referenced the entire range.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks