Hi
I've recently had to do something similar for an accountancy system I was working on, but it looked at dates rather than monetary value. Anyway, the way I did it in the end was got VBA to use an IF function in an empty cell, so if for arguments sake your $ is in cell E, it would be:
Then delete any row that contains 'No, then copy over
The code you'd need to achieve all this would be something like:
The above should add the formula, delete any 'No' fields, count how many rows you have left, insert that many rows into Main then copy the information over.
You may need to play around with it a little
Bookmarks