Added the Read Excel Function code 
and Image code to Generate button
Modified it to work for the GUI
Modified it to work for the GUI