M
Mike
Hello all,
I'm writing a program that requires me to total up the top
x values in a column of 50 numbers. "x" is a floating
value based on the user entry on the UI. The VB code will
then take that entry and scan the column for the
corresponding values. For example, the user says they
need the top two values from this list:
5
7
4
2
9
I need the total returned to show 16 (7+9). If they say
they need the top 3, I need 21 (7+5+9).
Hopefully this is clear. I'd appreciate any help that
someone may be able to offer,
Thanks in advance and have a great day,
Mike
I'm writing a program that requires me to total up the top
x values in a column of 50 numbers. "x" is a floating
value based on the user entry on the UI. The VB code will
then take that entry and scan the column for the
corresponding values. For example, the user says they
need the top two values from this list:
5
7
4
2
9
I need the total returned to show 16 (7+9). If they say
they need the top 3, I need 21 (7+5+9).
Hopefully this is clear. I'd appreciate any help that
someone may be able to offer,
Thanks in advance and have a great day,
Mike