Hello,

I am using Excel 2002 in my code. Where I open, load all the necessary data and then close Excel from VC++ code. I am using following piece of code to finally quiting Excel.

Excel::_Applica tionPtr m_ptrExcel;
if (m_ptrExcel)
{
m_ptrExcel->Quit();
}
m_ptrWrkbkFA = 0;
m_ptrWrkshEDV = 0;
m_ptrRangeCelsE DV = 0;
m_ptrExcel = 0;
...