View Single Post
 
Old 07-02-2014, 02:13 PM
jojo69 jojo69 is offline
Freshman
 
Join Date: Oct 2008
Posts: 30
Default Disposing Excel Object

Is this the correct way to release resources using Excel Object Model and VB.net

Code:
        oExcel.DisplayAlerts = False
        osheet = Nothing
        oBook.Close(True)
        oExcel.DisplayAlerts = True
        

        oExcel.Quit()
Reply With Quote