Demo for Stackoverflow question http://stackoverflow.com/questions/3640931/how-to-build-excel-macro/3641024