Refrence to Microsoft Office not working anymore

philiop

Member
Joined
May 6, 2010
Messages
22
Programming Experience
Beginner
I have been working on a vb.net project for the last month and part of the coding refrences microsoft office.

Until recently i had the Microsoft Office 2010 Trial Version installed on my machine and just switched to Microsoft Office 2007 and the refrences stopped working. I went into the project refrences and refrenced the Microsoft Office 12.0 Object libary but I am still getting errors.

Previously I had this and it worked

Imports Microsoft.Office.interop.word
Public Class Form2
Dim thisDoc As Word.Document

Now its not working at all. What am i doing wrong?

Thank you in advance. :cool:
 
Hi John, thankyou for your response. Its all working now :). Cheers. Had a load of problems after downgrading from Trial Version of Office 2010 to Office 2007.
 
Back
Top