Could not load file or assembly ‘Office, Version=15.0.0.0’

I also got this error message even if I have Office 2010 and I don’t have Microsoft.Office.Interop.Excel folder under GAC.
I found the solution for my case here:
https://www.add-in-express.com/forum/read.php?FID=5&TID=15525
You have to reference two dll-files from these folders:
C:\Windows\assembly\GAC_MSIL\Microsoft.Vbe.Interop\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll
and
C:\Windows\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c\OFFICE.DLL

Leave a Comment