Hi Everybody,
I m facing the two problems RPC unavailable exception , Excel.exe in Task manager
For my windows application i need to copy a template excel file and rename as Today's Date file.Then write the contents , close like excelApp.Quit() , saves the excel sheets also.
Excel.exe
But still the Excel.exe is exists in Task manager. Why? How to avoid?
I closed the excel application properly.
RPC server unavailable exception
I copied the template file as Today's date file.
when I try to open the Today's date file exception as occurring like RPC unavailable exception. Why? How to solve?
wbApp = excelApp.Workbooks.Open(fileName, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
wsApp = (Microsoft.Office.Interop.Excel.Worksheet)wbApp.Sheets[1];
please help me
Thanks in advance
Note - I am using C#, .Net
and 2003 MS office