Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I determine the lowest non-zero value in a range?
This works if the lowest value is NOT zero: dblMin = xlapp.Min(xlapp.Workbooks(strXlsFile). Worksheets(sn(i)).Range(xlapp.Workbooks(strXlsFile ). Worksheets(sn(i)).Cells(2, 4), xlapp.Workbooks(strXlsFile). Worksheets(sn(i)).Cells(lr, lc))) [lr = last row, lc = last column] Is there some way to ignore zero values? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Ignore | Excel Discussion (Misc queries) | |||
ignore #n/a | Excel Discussion (Misc queries) | |||
Ignore #DIV/0! | Excel Worksheet Functions | |||
macro to close excel application other than application.quit | Excel Programming | |||
application.quit will not shut off application | Excel Programming |