Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() You can use the worksheet function max and then search for the value using Find like this Set MyRange = Range("a1:a100") MaxVal = worksheetfunction.max(MyRange) Set C = MyRange.find(what:=MaxVal,lookin:=xlvalues,lookat: =xlwhole) AdjacentValue = C.offset(0,1) -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=167026 Microsoft Office Help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro that does a find and then find next | Excel Programming | |||
Find & Replace and Find & Insert macro help needed | Excel Programming | |||
Get Macro warning, but can't find Macro | Excel Worksheet Functions | |||
change error message when no more for "find" in macro to find | Excel Programming | |||
I need to find a macro to find data cut and paste to another colu. | Excel Programming |