Attached workbook
I have a macro that works except for one cell (H24) which does not solve using Solver, the other 4 cells work fine. I have uploaded my Excel 2007 workbook. Any input/comments would be appreciated.
I’m no expert but I not sure if some of the code is needed. I have taken some of the fluff out already. I was wondering if we could make a small change as well. Right now when a number is entered in any one of the five cells (below) and the enter key is pressed the macro starts and the answer is produced. I was wondering if we could set up one cell to be used as a manual start button, if you will, to start the macro for all 5 cells.
I can post the code here if you like or please check my workbook.
This is what the macro should be doing:
1 - Search and determine which cells have numbers in the following cells: D24,F24,H24,J24,L24. There will always be numbers in 1 or all 5 cells.
2. For each found cell with a number the program does a calculation using Solver and then enters the answer in the cell below it. So as an example, for cell L24 (7.77 was entered) the answer (1.55) would be placed in cell L25.
Thank-you for all your help.
Bookmarks