Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code fragment for opening and the closing excel in a vb
..net app: objxl = New Excel.Application objwbs = objxl.Workbooks objwb = objwbs.Add objws = CType(objwb.Worksheets(1), Excel.Worksheet) objwb.SaveAs(strpath, xlCSV) objxl.DisplayAlerts = False 'objws.close() objxl.DisplayAlerts = True Marshal.ReleaseComObject(objws) objxl.Quit() My question is, how do you close opjws? The close method no longer exists. Tx for any help. Bernie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Closing workbooks w/o closing Excel | Excel Discussion (Misc queries) | |||
turning a worksheet inside out | Excel Discussion (Misc queries) | |||
closing a 2007 worksheet | Excel Discussion (Misc queries) | |||
Excel Crashes after Inserting New Worksheet and Closing the File | Excel Discussion (Misc queries) | |||
Tabs Inside of a worksheet | Excel Worksheet Functions |