Fredrik,
You may check out the following tutorial (and especially the last post)
about releasing an instance of Excel. It's explicit target
VB.NET but it
shouldn't be an issue for You to port it to C#.
http://www.xtremevbtalk.com/showthread.php?t=160433
---------------
With kind regards,
Dennis
Weekly Blog .NET & Excel:
http://xldennis.wordpress.com/
My English site:
http://www.excelkb.com/default.aspx
My Swedish site:
http://www.xldennis.com/