Friday, June 18, 2010

The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) MS Word automation solution

I was frustrated by this error every time i run below code. I did a lot of googleing nothing worked. Even Microsoft said its a know issue we don't recommend this.

Then later just to try I just put one try catch block and it worked perfect. Till date i have not seen that error.





VBA Code to copy and paste the Content from excel to word

There are situations where you may have to copy and paste some content from excel to word. And save the newly created document into disk. Th...