Not really sure, but maybe you should release the workbook before trying to
quit the application, in other words, reverse these two steps:
xlApp.Quit()
NAR(xlBook)
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______
>I wrote a program in vb.net 2005 to open a spread sheet, read data and then
> close the spreadsheet. The probelm is it is not really closing.
[quoted text clipped - 27 lines]
>
> Can someone tell me what I am doing wrong?