excel:macro_search_sequentially
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
excel:macro_search_sequentially [2016/07/11 08:21] – created peter | excel:macro_search_sequentially [2016/07/11 11:30] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Excel - Macro Search Sequentially ====== | ||
- | |||
- | <code excel> | ||
- | ' Returns the number of vCrit found within the array oArrWithCrit. | ||
- | Function ArrayCountIfSequential(oArrWithCrit As Variant, vCrit As Variant) | ||
- | Dim lRow As Long | ||
- | | ||
- | For lRow = LBound(oArrWithCrit, | ||
- | If oArrWithCrit(lRow, | ||
- | ArrayCountIfSequential = ArrayCountIf + 1 | ||
- | End If | ||
- | Next | ||
- | End Function | ||
- | </ | ||
excel/macro_search_sequentially.1468225298.txt.gz · Last modified: 2020/07/15 09:30 (external edit)