You need to post the code you wrote to create the Excel application instance and open the workbook, etc. I see your using
the default objects "Rows" and the "Selection" object. Where are your variable objects that fully qualify them? That is the problem and
you may also not be quiting the app using your Excel application onject.