Listen up ppl. Firstly, don't post VB.Net questions in a VBA forum because it does my head in.

Set is no longer needed in .Net and the compiler ignores it and deletes it as soon as you try to use it.

xxwhocaresxx: have you added a reference to the relevant Word object library? You'll need to do that in order to create an instance of the word application.

For my outlook program i just used a reference to Interop.Office.dll and then this code to create an outlook app object...

VB Code:
  1. Private OutApp As Outlook.ApplicationClass
  2. ............
  3. OutApp = New Outlook.ApplicationClass

You should be able to figure out how to do the equivalent Word version for yourself.