Hi Clive That looks pretty good. More work than I want to do at my account size though. The "CASH" is a varying value with components of varying value. But I guess you can simplify that by letting the actual cash vary without changing the stock portion unless neccesary. Toofuzzy