OutOfBounds Function
19.08.2003 13:27:02
Martin
kann mir einer einen Beispiel irgendeiner "OutOfBounds function" geben, wie man sie erstellt und wie man sie aufruft?
In den Bücher steht eine für mich nicht ausreichende Erkärung wie:
Function OutOfBounds(rngToCheck As Excel.Range, _
lngLowValue As Long, _
lngHighValue As Long, _
Optional lngHighlightColor As Long = 255) As Boolean
' This procedure illustrates how to use the Cells property
' to iterate through a collection of cells in a range.
' For each cell in the rngTocheck range, if the value of the
' cell is numeric and it falls outside the range of values
' specified by lngLowValue to lngHighValue, the cell font
' is changed to the value of lngHighlightColor (default is red).
End Function
Leider weiss ich nicht wie man sie nutzen kann. Muss ich eventuell noch was lesen?
Vielen Dank!