Source: http://www.lamsade.dauphine.fr/~labidi/Cours/DEGEAD2_-_Informatique/TD%20-%20TP/TD2_vba/td2VBA.pdf