Take a look at what amazing things can be done with VBA and Excel. There’s even a tutorial so you can see how it is done.
Preview: http://carywalkin.files.wordpress.com/2013/09/maze1.gif
Workbook: http://carywalkin.files.wordpress.com/2013/09/maze-example.xlsm
Tutorial: http://carywalkin.ca/tag/maze/