LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locate value in a range Matt Excel Discussion (Misc queries) 4 January 7th 09 11:25 PM
Locate values in range Matt Excel Discussion (Misc queries) 1 December 3rd 08 04:54 PM
locate a cell value within a range and return its reference Adam Excel Discussion (Misc queries) 0 April 8th 08 11:23 AM
Using INDEX() to Locate Variable Data Shadowboy Excel Discussion (Misc queries) 4 August 21st 06 02:17 PM
How can I locate the second to last value in a range? A shink Excel Worksheet Functions 5 June 4th 05 01:17 AM


All times are GMT +1. The time now is 04:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"