I have written a C# code in console application to open two excels and copy and paste data from one excel to another excel. It was working fine until the destination excel\'
In my case, I simply restarted my machine and found out that there was a windows update pending. Restarting the machine solved my problem.