Originally Posted by
olsonkyle12
... when I change the array values to Currency$ ... it's not working
Ad 1. WorksheetFunction.Sum Method => from the context help MS
-----------------------------------------------------------------
"Numbers, logical values, and text representations of numbers that you type directly into the list of arguments are counted.
If an argument is an array or reference, only numbers in that array or reference are counted.
Empty cells, logical values, or text in the array or reference are ignored.
Arguments that are error values or text that cannot be translated into numbers cause errors."
Ad 2. WorksheetFunction.IsNumber Method => from the context help MS
---------------------------------------------------------------------
"The value arguments of the IS functions are not converted.
For example, in most other functions where a number is required, the text value "19" is converted to the number 19.
However, in the formula ISNUMBER("19"), "19" is not converted from a text value, and the ISNUMBER function returns FALSE.
The IS functions are useful in formulas for testing the outcome of a calculation.
When combined with the IF function, they provide a method for locating errors in formulas (see the following examples)."
Ad 3. Code:
Summa summarum:
MS ignores you and your currency ... ....
Bookmarks