That is suprisingly easy, and can be done with under 20 lines of code in VB