Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range
How do I code a " Range" of cells that are not in order?
I tried to get a min in a group of 4 scattered cells with numerical values using: Application.Min(Range("C4","C7","C11","C14")) with no success. What code would I use get the min of those 4 cells? Thanks, Ed English |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range
Sub mincells()
MsgBox Application.Min(Range("g1,g3,g5,g9")) End Sub -- Don Guillett SalesAid Software "Ed" wrote in message ... How do I code a " Range" of cells that are not in order? I tried to get a min in a group of 4 scattered cells with numerical values using: Application.Min(Range("C4","C7","C11","C14")) with no success. What code would I use get the min of those 4 cells? Thanks, Ed English |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range
Thanks
On Fri, 4 Aug 2006 06:59:31 -0500, "Don Guillett" wrote: Sub mincells() MsgBox Application.Min(Range("g1,g3,g5,g9")) End Sub |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range
glad to help
-- Don Guillett SalesAid Software "Ed" wrote in message ... Thanks On Fri, 4 Aug 2006 06:59:31 -0500, "Don Guillett" wrote: Sub mincells() MsgBox Application.Min(Range("g1,g3,g5,g9")) End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I enter formula sum(range+range)*0.15 sumif(range=3) | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Range Question / error 1004: method Range of object Worksheet has failed | Excel Programming | |||
Range.Find returns cell outside of range when range set to single cell | Excel Programming | |||
how to? set my range= my UDF argument (range vs. value in range) [advanced?] | Excel Programming |