Winston0301
New Member
- Joined
- Oct 10, 2015
- Messages
- 11
Hi All,
I was wondering if there was a way I could input a number, select a data array and then get a macro to tell me every possible solution of adding those numbers in the selection together to make the input value.
So if I had a selection
1, 2, 3, 5
And I input 5 I would to want the macro to return 2 + 3 on one line then 5 on another line and then end the macro.
Hopefully this makes sense! Thanks in advance.
I was wondering if there was a way I could input a number, select a data array and then get a macro to tell me every possible solution of adding those numbers in the selection together to make the input value.
So if I had a selection
1, 2, 3, 5
And I input 5 I would to want the macro to return 2 + 3 on one line then 5 on another line and then end the macro.
Hopefully this makes sense! Thanks in advance.