[dba-VB] C# Excel automation

jwcolby jwcolby at colbyconsulting.com
Mon May 9 10:43:38 CDT 2011


We are trying to automate Excel from C# but we are unable to correctly close the excel object 
itself.  IOW it is still seen in the process list.

Paul has found information about marshal.releasecomobject and is doing that for every object he is 
even touching but something is still not working.

Can anyone provide a simple example of opening a workbook, and reading a set of cells out of a 
worksheet, then cleaning up and closing Excel.

TIA for your assistance.

-- 
John W. Colby
www.ColbyConsulting.com



More information about the dba-VB mailing list