Microsoft Excel 12.0 Object Library Download Vb6 Here

' Clean up Set xlSheet = Nothing xlWB.Close False Set xlWB = Nothing xlApp.Quit Set xlApp = Nothing

' Add a workbook Set xlWB = xlApp.Workbooks.Add Set xlSheet = xlWB.Worksheets(1) Microsoft Excel 12.0 Object Library Download Vb6

It's important to clarify a common point of confusion: ' Clean up Set xlSheet = Nothing xlWB